From: kaeza Date: Sat, 21 Dec 2013 03:37:14 +0000 (-0200) Subject: Fix enum element name in Lua HUD code (position vs. pos) X-Git-Tag: 0.4.9~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=767b2e7b175db54ec29bd270280b857586b1e836;p=oweals%2Fminetest.git Fix enum element name in Lua HUD code (position vs. pos) --- diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 3a990887b..457d8ea7b 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -43,7 +43,8 @@ struct EnumString es_HudElementType[] = struct EnumString es_HudElementStat[] = { - {HUD_STAT_POS, "pos"}, + {HUD_STAT_POS, "position"}, + {HUD_STAT_POS, "pos"}, /* Deprecated, only for compatibility's sake */ {HUD_STAT_NAME, "name"}, {HUD_STAT_SCALE, "scale"}, {HUD_STAT_TEXT, "text"},