Use `gPaintInteractionType`

This commit is contained in:
Marijn van der Werf 2016-08-04 10:28:09 +02:00
parent fc750583f9
commit 6bdc2206d9
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ static void paint_motionsimulator_vehicle(sint8 offsetX, sint8 offsetY, uint8 di
uint16 spriteIndex = ride->vehicles[0];
if (spriteIndex != SPRITE_INDEX_NULL) {
vehicle = GET_VEHICLE(spriteIndex);
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_SETUP_CURRENT_TYPE, uint8) = 2;
gPaintInteractionType = VIEWPORT_INTERACTION_ITEM_SPRITE;
g_currently_drawn_item = vehicle;
}
}