mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Fix vehicles bunching up when waiting for passengers in certain directions.
Most notable in bumper boats on blackpool pleasure
This commit is contained in:
@@ -6545,12 +6545,12 @@ static bool vehicle_update_motion_collision_detection(
|
||||
}
|
||||
}
|
||||
else if (vehicle->sprite_direction == 8) {
|
||||
if (vehicle->x >= collideVehicle->x) {
|
||||
if (vehicle->y >= collideVehicle->y) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (vehicle->sprite_direction == 16) {
|
||||
if (vehicle->y >= collideVehicle->y) {
|
||||
if (vehicle->x >= collideVehicle->x) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user