forked from rosebudai/OpenRCT2-Web
Disable vehicle collision on single car position update
This commit is contained in:
1 parent
833c8a2e1f
commit
559c327c1e
1 file changed
+1
-1
@@ -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