Skip to content

Commit

Permalink
Fix enum element name in Lua HUD code (position vs. pos)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeza authored and kahrl committed Dec 31, 2013
1 parent 2902a29 commit 767b2e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/script/lua_api/l_object.cpp
Expand Up @@ -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"},
Expand Down

0 comments on commit 767b2e7

Please sign in to comment.