From 884bcd2c8ad289b9ea7eff54e321d47a353889a0 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Thu, 18 Feb 2016 22:24:40 +0000 Subject: [PATCH] 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 --- src/ride/vehicle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ride/vehicle.c b/src/ride/vehicle.c index 45f96c558c..b174f8d370 100644 --- a/src/ride/vehicle.c +++ b/src/ride/vehicle.c @@ -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