Skip to content

Commit

Permalink
TOGGLE_CHAT keymap should togglechat not HUD
Browse files Browse the repository at this point in the history
Fixes #5413
  • Loading branch information
nerzhul committed Mar 18, 2017
1 parent a7485e4 commit 9f4916a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 9f4916a

Please sign in to comment.