summaryrefslogtreecommitdiff
path: root/src/hud.cpp
diff options
context:
space:
mode:
authorEvidenceB <49488517+EvidenceBKidscode@users.noreply.github.com>2020-08-29 20:13:30 +0200
committerGitHub <noreply@github.com>2020-08-29 20:13:30 +0200
commit5c4b560b6812bbdf7a9d3202c95bad5c9df97d66 (patch)
tree9e29fa859e14890e78cd215b25a0b822a0b37e8b /src/hud.cpp
parent386d5f778a299cc0d891eb476674f3eddb108376 (diff)
downloadminetest-5c4b560b6812bbdf7a9d3202c95bad5c9df97d66.tar.gz
minetest-5c4b560b6812bbdf7a9d3202c95bad5c9df97d66.tar.bz2
minetest-5c4b560b6812bbdf7a9d3202c95bad5c9df97d66.zip
Add compass HUD element (#9312)
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Diffstat (limited to 'src/hud.cpp')
-rw-r--r--src/hud.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hud.cpp b/src/hud.cpp
index 4830c56a4..175701342 100644
--- a/src/hud.cpp
+++ b/src/hud.cpp
@@ -28,6 +28,7 @@ const struct EnumString es_HudElementType[] =
{HUD_ELEM_INVENTORY, "inventory"},
{HUD_ELEM_WAYPOINT, "waypoint"},
{HUD_ELEM_IMAGE_WAYPOINT, "image_waypoint"},
+ {HUD_ELEM_COMPASS, "compass"},
{0, NULL},
};