From: SmallJoker Date: Sat, 23 Feb 2019 14:54:49 +0000 (+0100) Subject: Minimap: Fix radar restriction broken by 9649e47 X-Git-Tag: 5.0.0~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1942660955bc3684a60d527e2fafa0ec3e02dd54;p=oweals%2Fminetest.git Minimap: Fix radar restriction broken by 9649e47 Server-side radar restriction is now possible again Thanks to @pgimeno for this nice catch. --- 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}, };