diff options
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 fad902d03..0f8227749 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2818,6 +2818,9 @@ void Game::toggleMinimap(bool shift_pressed) if (hud_flags & HUD_FLAG_MINIMAP_VISIBLE) { mode = mapper->getMinimapMode(); mode = (MinimapMode)((int)mode + 1); + // If radar is disabled and in, or switching to, radar mode + if (!(hud_flags & HUD_FLAG_MINIMAP_RADAR_VISIBLE) && mode > 3) + mode = MINIMAP_MODE_OFF; } flags.show_minimap = true; |