aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-09-01 03:07:02 +0200
committerest31 <MTest31@outlook.com>2015-09-01 19:00:33 +0200
commit0903190ba2ed2134c464f2efe694d7281ead1c09 (patch)
tree94d4a169560be1e9ef4b69574b9f1c8ab0b0c06c /src/game.cpp
parentdce9468925b2208b8178722af218d9cd30a35a64 (diff)
downloaddragonfireclient-0903190ba2ed2134c464f2efe694d7281ead1c09.tar.xz
Hide minimap if it has been disabled by server
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
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();
}
}