aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 5c2f2542e..cb3820870 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2564,7 +2564,7 @@ void Game::processKeyInput()
} else if (wasKeyDown(KeyType::MINIMAP)) {
toggleMinimap(&flags.show_minimap, flags.show_hud, isKeyDown(KeyType::SNEAK));
} else if (wasKeyDown(KeyType::TOGGLE_CHAT)) {
- toggleChat(&flags.show_hud);
+ toggleChat(&flags.show_chat);
} else if (wasKeyDown(KeyType::TOGGLE_FORCE_FOG_OFF)) {
toggleFog(&flags.force_fog_off);
} else if (wasKeyDown(KeyType::TOGGLE_UPDATE_CAMERA)) {