mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix motion simulator vehicle colours.
Due to a mistake during implementation the vehicle colour of the motion simulator was the wrong way around. The trim colour was applied to the body and vice versa. Issue noticed by reddit user.
This commit is contained in:
parent
29a4277709
commit
329c8b1f76
|
@ -64,8 +64,8 @@ static void paint_motionsimulator_vehicle(sint8 offsetX, sint8 offsetY, uint8 di
|
|||
uint32 imageColourFlags = gTrackColours[SCHEME_MISC];
|
||||
if (imageColourFlags == 0x20000000) {
|
||||
imageColourFlags = IMAGE_TYPE_REMAP_2_PLUS | IMAGE_TYPE_REMAP;
|
||||
imageColourFlags |= ride->vehicle_colours[0].trim_colour << 19;
|
||||
imageColourFlags |= ride->vehicle_colours[0].body_colour << 24;
|
||||
imageColourFlags |= ride->vehicle_colours[0].body_colour << 19;
|
||||
imageColourFlags |= ride->vehicle_colours[0].trim_colour << 24;
|
||||
}
|
||||
simulatorImageId |= imageColourFlags;
|
||||
|
||||
|
|
Loading…
Reference in New Issue