1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 02:35:46 +01:00

add vehicle struct and enum labels from vehicle-update branch.

This commit is contained in:
IntelOrca
2015-10-25 21:25:54 +00:00
parent 14ec8a7fc5
commit 8d84b540ad
9 changed files with 99 additions and 43 deletions

View File

@@ -899,7 +899,7 @@ void viewport_vehicle_paint_setup(rct_vehicle *vehicle, int imageDirection)
rideEntry = GET_RIDE_ENTRY(vehicle->ride_subtype);
vehicleEntry = &rideEntry->vehicles[vehicle->vehicle_type];
if (vehicle->var_48 & 0x800) {
if (vehicle->update_flags & VEHICLE_UPDATE_FLAG_11) {
vehicleEntry++;
z += 16;
}