Fix #5629: Fix velocity sawtooth on freefall drop station movement

Mistake made during implementation.
This commit is contained in:
duncanspumpkin 2017-07-29 07:57:05 +01:00 committed by Ted John
parent d23de89b33
commit 6bacd4321c

View file

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