Set correct sprite type for Magic Carpet drawing

This commit is contained in:
Marijn van der Werf 2016-07-12 00:46:43 +02:00 committed by Ted John
parent dca816cfd3
commit 6c702fb1a9
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ static void paint_magic_carpet_structure(rct_ride *ride, uint8 direction, sint8
uint32 swingImageId = 0;
if (vehicle != NULL) {
swingImageId = vehicle->vehicle_sprite_type;
gPaintInteractionType = VIEWPORT_INTERACTION_ITEM_SPRITE;
}
bound_box bb = MagicCarpetBounds[direction];