mirror of https://github.com/OpenRCT2/OpenRCT2.git
Likely caused by use of the console or a new plugin
This commit is contained in:
parent
31fc1bd225
commit
4fcdcc3729
|
@ -6405,7 +6405,10 @@ int32_t Vehicle::UpdateMotionDodgems()
|
|||
edx = -edx;
|
||||
edx >>= 5;
|
||||
eax += edx;
|
||||
eax /= mass;
|
||||
if (mass != 0)
|
||||
{
|
||||
eax /= mass;
|
||||
}
|
||||
rct_ride_entry* rideEntry = GetRideEntry();
|
||||
rct_ride_entry_vehicle* vehicleEntry = &rideEntry->vehicles[vehicle_type];
|
||||
|
||||
|
|
Loading…
Reference in New Issue