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
1 changed files with 2 additions and 2 deletions

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