1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Fix enum element name in Lua HUD code (position vs. pos)

This commit is contained in:
kaeza 2013-12-21 01:37:14 -02:00 committed by Kahrl
parent 2902a29c2d
commit 767b2e7b17

View File

@ -43,7 +43,8 @@ struct EnumString es_HudElementType[] =
struct EnumString es_HudElementStat[] = 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_NAME, "name"},
{HUD_STAT_SCALE, "scale"}, {HUD_STAT_SCALE, "scale"},
{HUD_STAT_TEXT, "text"}, {HUD_STAT_TEXT, "text"},