Skip to content
Snippets Groups Projects
Commit 61a0d1bc authored by Inuyasha's avatar Inuyasha
Browse files

don't use lstring

you have space for a null terminator there...
parent 7349cbdb
No related branches found
No related tags found
1 merge request!43BACKPORT: removal of music slots
......@@ -1169,7 +1169,7 @@ static int mapheaderinfo_get(lua_State *L)
else if (fastcmp(field,"nextlevel"))
lua_pushinteger(L, header->nextlevel);
else if (fastcmp(field,"musname"))
lua_pushlstring(L, header->musname, 6);
lua_pushstring(L, header->musname);
else if (fastcmp(field,"mustrack"))
lua_pushinteger(L, header->mustrack);
else if (fastcmp(field,"forcecharacter"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment