Merge branch 'expose-selectheading' into 'next'

Expose mapheader_t's selectheading option to Lua

See merge request STJr/SRB2!1268
This commit is contained in:
James R 2020-12-10 15:07:23 -05:00
commit 77c51c62c2

View file

@ -2189,6 +2189,8 @@ static int mapheaderinfo_get(lua_State *L)
lua_pushinteger(L, header->levelflags);
else if (fastcmp(field,"menuflags"))
lua_pushinteger(L, header->menuflags);
else if (fastcmp(field,"selectheading"))
lua_pushstring(L, header->selectheading);
else if (fastcmp(field,"startrings"))
lua_pushinteger(L, header->startrings);
else if (fastcmp(field, "sstimer"))