Skip to content
Permalink
Browse files

TOGGLE_CHAT keymap should togglechat not HUD

Fixes #5413
  • Loading branch information...
nerzhul committed Mar 18, 2017
1 parent a7485e4 commit 9f4916a4528011b820c8bcbb3160bebda0cd2c2a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)) {

0 comments on commit 9f4916a

Please sign in to comment.
You can’t perform that action at this time.