Minimap: Fix radar restriction broken by 9649e47
authorSmallJoker <mk939@ymail.com>
Sat, 23 Feb 2019 14:54:49 +0000 (15:54 +0100)
committerSmallJoker <mk939@ymail.com>
Sat, 23 Feb 2019 14:54:53 +0000 (15:54 +0100)
Server-side radar restriction is now possible again
Thanks to @pgimeno for this nice catch.

src/hud.cpp

index e4a20190de27ad20409e1d1c0eb0432accc718c8..8ada65274730805a4ee49319077c4ffcb341cd42 100644 (file)
@@ -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},
 };