mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix 3D films only lasting 1 ticks time
This commit is contained in:
parent
3d2a456481
commit
5e6befe20b
|
@ -3929,7 +3929,7 @@ static void vehicle_update_showing_film(rct_vehicle *vehicle)
|
|||
return;
|
||||
|
||||
totalTime = RideFilmLength[vehicle->sub_state];
|
||||
currentTime = vehicle->var_4C + 1;
|
||||
currentTime = ((sint16)vehicle->var_4C) + 1;
|
||||
if (currentTime <= totalTime) {
|
||||
vehicle->var_4C = currentTime;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue