1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Introduce gCurrentRealTimeTicks and refactor some variable names.

This commit is contained in:
Matt
2018-12-01 16:36:00 +01:00
parent ebd4e8f5d6
commit 4bc69a0111
8 changed files with 23 additions and 13 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;