mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use `gPaintInteractionType`
This commit is contained in:
parent
fc750583f9
commit
6bdc2206d9
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue