diff options
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 e4c72b5a9..211a4c2b6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1088,7 +1088,7 @@ void Game::updateHistory(const SDL_Event &event) if (!player_node || !player_node->getAttackType()) return; - if (event.key.keysym.sym != -1) + if (static_cast<int>(event.key.keysym.sym) != -1) { bool old = false; |