From 1942660955bc3684a60d527e2fafa0ec3e02dd54 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 23 Feb 2019 15:54:49 +0100 Subject: [PATCH] Minimap: Fix radar restriction broken by 9649e47 Server-side radar restriction is now possible again Thanks to @pgimeno for this nice catch. --- src/hud.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/hud.cpp b/src/hud.cpp index e4a20190..8ada6527 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}, };