Minimap: Fix radar restriction broken by 9649e47

Server-side radar restriction is now possible again
Thanks to @pgimeno for this nice catch.
This commit is contained in:
SmallJoker 2019-02-23 15:54:49 +01:00
parent 9311d8a8aa
commit 1942660955

@ -48,11 +48,12 @@ const struct EnumString es_HudElementStat[] =
const struct EnumString es_HudBuiltinElement[] = const struct EnumString es_HudBuiltinElement[] =
{ {
{HUD_FLAG_HOTBAR_VISIBLE, "hotbar"}, {HUD_FLAG_HOTBAR_VISIBLE, "hotbar"},
{HUD_FLAG_HEALTHBAR_VISIBLE, "healthbar"}, {HUD_FLAG_HEALTHBAR_VISIBLE, "healthbar"},
{HUD_FLAG_CROSSHAIR_VISIBLE, "crosshair"}, {HUD_FLAG_CROSSHAIR_VISIBLE, "crosshair"},
{HUD_FLAG_WIELDITEM_VISIBLE, "wielditem"}, {HUD_FLAG_WIELDITEM_VISIBLE, "wielditem"},
{HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"}, {HUD_FLAG_BREATHBAR_VISIBLE, "breathbar"},
{HUD_FLAG_MINIMAP_VISIBLE, "minimap"}, {HUD_FLAG_MINIMAP_VISIBLE, "minimap"},
{HUD_FLAG_MINIMAP_RADAR_VISIBLE, "minimap_radar"},
{0, NULL}, {0, NULL},
}; };