diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-27 19:39:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-27 19:39:42 +0300 |
commit | 13cc48ee351eb801aa82878ab2bebda048002e1b (patch) | |
tree | d42131fabf0f2e08e4098194ba84c62cddf60741 /src/game.cpp | |
parent | b5760b82e84707f5c8f3ccadbf6c2f80c46fc5c1 (diff) | |
download | plus-13cc48ee351eb801aa82878ab2bebda048002e1b.tar.gz plus-13cc48ee351eb801aa82878ab2bebda048002e1b.tar.bz2 plus-13cc48ee351eb801aa82878ab2bebda048002e1b.tar.xz plus-13cc48ee351eb801aa82878ab2bebda048002e1b.zip |
Remove default parameter from keyboardconfig.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
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 ++) |