mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
Merge pull request #8339 from ZehMatt/realtime-ticks
Use real time ticks for UI effects.
This commit is contained in:
@@ -133,7 +133,7 @@ void window_update_all()
|
||||
// gfx_draw_all_dirty_blocks();
|
||||
|
||||
// 1000 tick update
|
||||
gWindowUpdateTicks += gTicksSinceLastUpdate;
|
||||
gWindowUpdateTicks += gCurrentDeltaTime;
|
||||
if (gWindowUpdateTicks >= 1000)
|
||||
{
|
||||
gWindowUpdateTicks = 0;
|
||||
|
||||
Reference in New Issue
Block a user