summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4e3c399cd..002e75a61 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -683,9 +683,6 @@ void Game::slowLogic()
const time_t time = cur_time;
if (mTime != time)
{
- if (valTest(Updated))
- mValidSpeed = false;
-
mTime = time + 1;
if (debugWindow != nullptr)
debugWindow->slowLogic();
@@ -1248,7 +1245,6 @@ void Game::updateHistory(const SDL_Event &event)
void Game::checkKeys()
{
const int timeRange = 120;
- const int cntInTime = 130;
if ((localPlayer == nullptr) || (settings.attackType == 0U))
return;
@@ -1261,8 +1257,6 @@ void Game::checkKeys()
{
if (lastKey.time + timeRange < time)
{
- if (lastKey.cnt > cntInTime)
- mValidSpeed = false;
lastKey.key = InputAction::NO_VALUE;
}
}