aboutsummaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-08-18 16:43:31 +0100
committerparamat <mat.gregory@virginmedia.com>2017-08-20 23:58:15 +0100
commit7657fe7a505425e82d9cab7ae5638f7927138fb0 (patch)
treefed13b884e8fff6b8dd43f86399400539c530115 /src/player.cpp
parenta3441638c67c9a9f626d7542a53fef6340d42751 (diff)
downloadminetest-7657fe7a505425e82d9cab7ae5638f7927138fb0.tar.gz
minetest-7657fe7a505425e82d9cab7ae5638f7927138fb0.tar.bz2
minetest-7657fe7a505425e82d9cab7ae5638f7927138fb0.zip
Minimap: Add new HUD flag for minimap radar mode
Flag default is true to not change default behaviour. The existing minimap HUD flag remains the master control for minimap.
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 53e173498..1ff953253 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -70,7 +70,8 @@ Player::Player(const char *name, IItemDefManager *idef):
hud_flags =
HUD_FLAG_HOTBAR_VISIBLE | HUD_FLAG_HEALTHBAR_VISIBLE |
HUD_FLAG_CROSSHAIR_VISIBLE | HUD_FLAG_WIELDITEM_VISIBLE |
- HUD_FLAG_BREATHBAR_VISIBLE | HUD_FLAG_MINIMAP_VISIBLE;
+ HUD_FLAG_BREATHBAR_VISIBLE | HUD_FLAG_MINIMAP_VISIBLE |
+ HUD_FLAG_MINIMAP_RADAR_VISIBLE;
hud_hotbar_itemcount = HUD_HOTBAR_ITEMCOUNT_DEFAULT;
}