summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 9fa220b8c..2d1a2d82b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1065,6 +1065,8 @@ int Client::gameExec()
lastTickTime = tick_time;
#ifdef USE_SDL2
+ // +++ need check active state
+ frame_count++;
if (gui)
gui->draw();
mainGraphics->updateScreen();