mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix vehicles bunching up when waiting for passengers in certain directions.
Most notable in bumper boats on blackpool pleasure
This commit is contained in:
parent
127f08340e
commit
bcd02e833c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue