summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r--src/progs/manaplus/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 439e3c94c..76d64221d 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -996,7 +996,7 @@ int Client::gameExec()
PERF_STAT(5);
- logic_count += k;
+ logic_count = logic_count + k;
if (gui != nullptr)
gui->slowLogic();
@@ -1671,7 +1671,7 @@ int Client::gameExec()
// Update the screen when application is visible, delay otherwise.
if (!WindowManager::getIsMinimized())
{
- frame_count++;
+ frame_count = frame_count + 1;
if (gui != nullptr)
gui->draw();
mainGraphics->updateScreen();