diff options
author | SmallJoker <mk939@ymail.com> | 2019-02-23 15:54:49 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2019-02-23 15:54:53 +0100 |
commit | 1942660955bc3684a60d527e2fafa0ec3e02dd54 (patch) | |
tree | a1ddf3ceac7a79c5df03dc6032d97207ef84b460 /src | |
parent | 9311d8a8aab7dbb8f938654f545f1929ce518996 (diff) | |
download | minetest-1942660955bc3684a60d527e2fafa0ec3e02dd54.tar.gz minetest-1942660955bc3684a60d527e2fafa0ec3e02dd54.tar.bz2 minetest-1942660955bc3684a60d527e2fafa0ec3e02dd54.zip |
Minimap: Fix radar restriction broken by 9649e47
Server-side radar restriction is now possible again
Thanks to @pgimeno for this nice catch.
Diffstat (limited to 'src')
-rw-r--r-- | src/hud.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/hud.cpp b/src/hud.cpp index e4a20190d..8ada65274 100644 --- a/src/hud.cpp +++ b/src/hud.cpp @@ -48,11 +48,12 @@ const struct EnumString es_HudElementStat[] = const struct EnumString es_HudBuiltinElement[] = { - {HUD_FLAG_HOTBAR_VISIBLE, "hotbar"}, - {HUD_FLAG_HEALTHBAR_VISIBLE, "healthbar"}, - {HUD_FLAG_CROSSHAIR_VISIBLE, "crosshair"}, - {HUD_FLAG_WIELDITEM_VISIBLE, "wielditem"}, - {HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"}, - {HUD_FLAG_MINIMAP_VISIBLE, "minimap"}, + {HUD_FLAG_HOTBAR_VISIBLE, "hotbar"}, + {HUD_FLAG_HEALTHBAR_VISIBLE, "healthbar"}, + {HUD_FLAG_CROSSHAIR_VISIBLE, "crosshair"}, + {HUD_FLAG_WIELDITEM_VISIBLE, "wielditem"}, + {HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"}, + {HUD_FLAG_MINIMAP_VISIBLE, "minimap"}, + {HUD_FLAG_MINIMAP_RADAR_VISIBLE, "minimap_radar"}, {0, NULL}, }; |