forked from rosebudai/OpenRCT2-Web
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:
1 parent
faf16a35f9
commit
884bcd2c8a
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user