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