TOGGLE_CHAT keymap should togglechat not HUD

Fixes #5413
This commit is contained in:
Loic Blot 2017-03-18 10:00:04 +01:00
parent a7485e40ff
commit 9f4916a452
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987

@ -2564,7 +2564,7 @@ void Game::processKeyInput()
} else if (wasKeyDown(KeyType::MINIMAP)) { } else if (wasKeyDown(KeyType::MINIMAP)) {
toggleMinimap(&flags.show_minimap, flags.show_hud, isKeyDown(KeyType::SNEAK)); toggleMinimap(&flags.show_minimap, flags.show_hud, isKeyDown(KeyType::SNEAK));
} else if (wasKeyDown(KeyType::TOGGLE_CHAT)) { } else if (wasKeyDown(KeyType::TOGGLE_CHAT)) {
toggleChat(&flags.show_hud); toggleChat(&flags.show_chat);
} else if (wasKeyDown(KeyType::TOGGLE_FORCE_FOG_OFF)) { } else if (wasKeyDown(KeyType::TOGGLE_FORCE_FOG_OFF)) {
toggleFog(&flags.force_fog_off); toggleFog(&flags.force_fog_off);
} else if (wasKeyDown(KeyType::TOGGLE_UPDATE_CAMERA)) { } else if (wasKeyDown(KeyType::TOGGLE_UPDATE_CAMERA)) {