1
0
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:
Michael Steenbeek
2018-12-15 21:00:44 +01:00
committed by GitHub
12 changed files with 28 additions and 18 deletions

View File

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