Skip to content
Snippets Groups Projects
Commit f2b3640c authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Make sure seg/node arrays are invalidated in LUA_InvalidateLevel

(I'll fix sector.lines and ffloors and other things I missed in the public repo)
parent 4c723d05
No related branches found
No related tags found
No related merge requests found
......@@ -416,6 +416,14 @@ void LUA_InvalidateLevel(void)
LUA_InvalidateUserdata(&sides[i]);
for (i = 0; i < numvertexes; i++)
LUA_InvalidateUserdata(&vertexes[i]);
for (i = 0; i < numsegs; i++)
LUA_InvalidateUserdata(&segs[i]);
for (i = 0; i < numnodes; i++)
{
LUA_InvalidateUserdata(&nodes[i]);
LUA_InvalidateUserdata(nodes[i].bbox);
LUA_InvalidateUserdata(nodes[i].children);
}
}
void LUA_InvalidateMapthings(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment