From 13cc48ee351eb801aa82878ab2bebda048002e1b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Dec 2017 19:39:42 +0300 Subject: Remove default parameter from keyboardconfig. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') 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 ++) -- cgit v1.2.3-70-g09d2