diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-03-18 10:00:04 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-03-18 10:00:04 +0100 |
commit | 9f4916a4528011b820c8bcbb3160bebda0cd2c2a (patch) | |
tree | ef95e740f751bea9afedd80dcbae8c6b0dfbbdb6 | |
parent | a7485e40ffbc0f2bf255ac62cc256252bcb7a048 (diff) | |
download | minetest-9f4916a4528011b820c8bcbb3160bebda0cd2c2a.tar.gz minetest-9f4916a4528011b820c8bcbb3160bebda0cd2c2a.tar.bz2 minetest-9f4916a4528011b820c8bcbb3160bebda0cd2c2a.zip |
TOGGLE_CHAT keymap should togglechat not HUD
Fixes #5413
-rw-r--r-- | src/game.cpp | 2 |
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)) { |