summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 467c960e3..800df6f65 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1189,7 +1189,7 @@ void Game::updateHistory(const SDL_Event &event)
{
bool old = false;
- const InputActionT key = KeyboardConfig::getKeyIndex(event);
+ const InputActionT key = KeyboardConfig::getKeyIndex(event, 1);
const time_t time = cur_time;
int idx = -1;
for (int f = 0; f < MAX_LASTKEYS; f ++)