1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

Refactor sprite_flags

This commit is contained in:
duncanspumpkin
2016-02-20 16:42:17 +00:00
parent 40971267c3
commit 5340af4a12
11 changed files with 38 additions and 36 deletions

View File

@@ -1087,7 +1087,7 @@ void viewport_vehicle_paint_setup(rct_vehicle *vehicle, int imageDirection)
int y = vehicle->y;
int z = vehicle->z;
if (vehicle->var_0C & 0x80) {
if (vehicle->sprite_flags & SPRITE_FLAGS_IS_CRASHED_VEHICLE_SPRITE) {
uint32 ebx = 22965 + vehicle->var_C5;
RCT2_GLOBAL(0x9DEA52, uint16) = 0;
RCT2_GLOBAL(0x9DEA54, uint16) = 0;