Fix jerky vehicles on station platforms. Fixes #3011.

Issue caused by a mistake in implementing the function
This commit is contained in:
duncanspumpkin 2016-02-28 10:52:53 +00:00
parent 5ee023c86e
commit d7459d07f8
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ static void vehicle_update_moving_to_end_of_station(rct_vehicle *vehicle){
}
}
if (vehicle->velocity > 131940){
vehicle->velocity = vehicle->velocity / 16;
vehicle->velocity -= vehicle->velocity / 16;
vehicle->acceleration = 0;
}