summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f09e06e6..5b701fc1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -518,8 +518,8 @@ void Game::handleInput()
{
// Input chat window
if (!(chatWindow->isInputFocused() ||
- deathNotice != NULL ||
- weightNotice != NULL))
+ deathNotice ||
+ weightNotice))
{
// Quit by pressing Enter if the exit confirm is there
if (exitConfirm &&