1
0
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:
duncanspumpkin
2016-01-02 10:45:59 +00:00
parent 127f08340e
commit bcd02e833c

View File

@@ -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;
}
}