From 767b8400fb086616616a298655f0bc2eaf239256 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:48:11 +0300 Subject: Fix code style in other files. --- 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 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(event.key.keysym.sym) != -1) { bool old = false; -- cgit v1.2.3-60-g2f50