diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 14:19:15 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-04 14:19:15 +0100 |
commit | a7dc1135e94bde5f8c3385d54388563eaffe7553 (patch) | |
tree | 111cbc0da4eecfccfe2bb6fbd25edb1c28d7118a /src/client/game.cpp | |
parent | f1d9ac014efc6403e73223f36d3dbb7f5ed50236 (diff) | |
download | dragonfireclient-a7dc1135e94bde5f8c3385d54388563eaffe7553.tar.xz |
Added CheatHUD
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 491d55a34..479484ae9 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3206,9 +3206,12 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime, Cheat menu */ - if (m_game_ui->m_flags.show_cheat_menu && ! gui_chat_console->isOpen()) - m_cheat_menu->draw(driver, m_game_ui->m_flags.show_debug); - + if (! gui_chat_console->isOpen()) { + if (m_game_ui->m_flags.show_cheat_menu) + m_cheat_menu->draw(driver, m_game_ui->m_flags.show_debug); + if (g_settings->getBool("cheat_hud")) + m_cheat_menu->drawHUD(driver, dtime); + } /* Damage flash */ |