aboutsummaryrefslogtreecommitdiff
path: root/src/hud.cpp
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2020-08-12 11:51:50 +0200
committerGitHub <noreply@github.com>2020-08-12 11:51:50 +0200
commit1c38027c3a72402d752a8150701a44753e22990e (patch)
tree90aae232237d8ee167cdd7e9ad5e103897b3269e /src/hud.cpp
parentcd0e213a3640e980e15735f97dd874754f0dc679 (diff)
downloadminetest-1c38027c3a72402d752a8150701a44753e22990e.tar.gz
minetest-1c38027c3a72402d752a8150701a44753e22990e.tar.bz2
minetest-1c38027c3a72402d752a8150701a44753e22990e.zip
Fix precision not working in hud_change (#10186)
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 3079b5cd8..4830c56a4 100644
--- a/src/hud.cpp
+++ b/src/hud.cpp
@@ -40,6 +40,7 @@ const struct EnumString es_HudElementStat[] =
{HUD_STAT_TEXT, "text"},
{HUD_STAT_NUMBER, "number"},
{HUD_STAT_ITEM, "item"},
+ {HUD_STAT_ITEM, "precision"},
{HUD_STAT_DIR, "direction"},
{HUD_STAT_ALIGN, "alignment"},
{HUD_STAT_OFFSET, "offset"},