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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user