From e22b2566130eadc148c7aa89ee3cb429b22f1dfb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Nov 2019 09:38:55 +0300 Subject: Fix warnings in gcc trunk --- src/progs/manaplus/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/progs/manaplus') 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(); -- cgit v1.2.3-60-g2f50