summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-15 00:26:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-15 00:26:35 +0300
commitff516e9f60e9554e8938d04192a8e5ec9efb5647 (patch)
treeb134dd0202377c5b182f62870b983fe078700e28 /src/game.cpp
parent269f642099ec8e4c6bcf735496c32ee8019aaf1b (diff)
downloadplus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.gz
plus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.bz2
plus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.xz
plus-ff516e9f60e9554e8938d04192a8e5ec9efb5647.zip
fix code style.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 3eaddedfc..e30b7222e 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -620,6 +620,9 @@ void Game::slowLogic()
const int time = cur_time;
if (mTime != time)
{
+ if (valTest(Updated))
+ mValidSpeed = false;
+
mTime = time + 1;
if (botCheckerWindow)
botCheckerWindow->slowLogic();