diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-15 00:26:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-15 00:26:35 +0300 |
commit | ff516e9f60e9554e8938d04192a8e5ec9efb5647 (patch) | |
tree | b134dd0202377c5b182f62870b983fe078700e28 /src/game.cpp | |
parent | 269f642099ec8e4c6bcf735496c32ee8019aaf1b (diff) | |
download | ManaVerse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.gz ManaVerse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.bz2 ManaVerse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.tar.xz ManaVerse-ff516e9f60e9554e8938d04192a8e5ec9efb5647.zip |
fix code style.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
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(); |