mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
don't use lstring
you have space for a null terminator there...
This commit is contained in:
parent
7349cbdbc0
commit
61a0d1bcd1
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue