1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix #2971. Monorails now correctly accelerate.

Issue was caused by checking the wrong vehicle entry for acceleration speed. This was introduced by a bug fix on the weekend
This commit is contained in:
duncanspumpkin
2016-02-18 22:24:40 +00:00
parent faf16a35f9
commit 884bcd2c8a

View File

@@ -8075,6 +8075,8 @@ int vehicle_update_track_motion(rct_vehicle *vehicle, int *outStation)
}
// loc_6DC144
vehicle = RCT2_GLOBAL(0x00F64E04, rct_vehicle*);
vehicleEntry = vehicle_get_vehicle_entry(vehicle);
//eax
sint32 totalAcceleration = 0;
//ebp