1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Disable vehicle collision on single car position update

This commit is contained in:
Bas
2020-12-21 17:58:10 +01:00
parent 833c8a2e1f
commit 559c327c1e

View File

@@ -7650,7 +7650,7 @@ void Vehicle::UpdateReverserCarBogies()
*/
bool Vehicle::UpdateMotionCollisionDetection(const CoordsXYZ& loc, uint16_t* otherVehicleIndex)
{
if (HasUpdateFlag(VEHICLE_UPDATE_FLAG_COLLISION_DISABLED))
if (HasUpdateFlag(VEHICLE_UPDATE_FLAG_COLLISION_DISABLED) || HasUpdateFlag(VEHICLE_UPDATE_FLAG_SINGLE_CAR_POSITION))
return false;
auto vehicleEntry = Entry();