diff options
author | est31 <MTest31@outlook.com> | 2015-09-01 03:07:02 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-09-01 19:00:33 +0200 |
commit | 0903190ba2ed2134c464f2efe694d7281ead1c09 (patch) | |
tree | 94d4a169560be1e9ef4b69574b9f1c8ab0b0c06c /src/game.cpp | |
parent | dce9468925b2208b8178722af218d9cd30a35a64 (diff) | |
download | dragonfireclient-0903190ba2ed2134c464f2efe694d7281ead1c09.tar.xz |
Hide minimap if it has been disabled by server
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 0e26493a2..840d627b6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1857,6 +1857,9 @@ void Game::run() updateFrame(highlight_boxes, &graph, &stats, &runData, dtime, flags, cam_view); updateProfilerGraphs(&graph); + + // Update if minimap has been disabled by the server + flags.show_minimap &= !client->isMinimapDisabledByServer(); } } |