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
1 changed files with 2 additions and 1 deletions

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"},