Skip to content
Snippets Groups Projects
Commit 0b836a98 authored by LJ Sonic's avatar LJ Sonic
Browse files

Fix missing lua_pop in ArchiveExtVars

parent 22232832
No related branches found
No related tags found
1 merge request!252OpenGL: Public flatsprite: The Fixening
......@@ -716,7 +716,10 @@ static void ArchiveExtVars(void *pointer, const char *ptype)
lua_pop(gL, 1);
if (i == 0 && !fastcmp(ptype,"player")) // skip anything that has an empty table and isn't a player.
{
lua_pop(gL, 1);
return;
}
if (fastcmp(ptype,"mobj")) // mobjs must write their mobjnum as a header
WRITEUINT32(save_p, ((mobj_t *)pointer)->mobjnum);
WRITEUINT16(save_p, i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment