- fix in GL nodes loader.

This commit is contained in:
Christoph Oelckers 2015-04-28 22:13:50 +02:00
parent f087903fca
commit a2100410f2

View file

@ -944,13 +944,13 @@ bool P_LoadGLNodes(MapData * map)
result=true; result=true;
for(unsigned i=0; i<4;i++) for(unsigned i=0; i<4;i++)
{ {
if (strnicmp(f_gwa->GetLump(i+1)->Name, check[i], 8)) if (strnicmp(f_gwa->GetLump(li+i+1)->Name, check[i], 8))
{ {
result=false; result=false;
break; break;
} }
else else
gwalumps[i] = f_gwa->GetLump(i+1)->NewReader(); gwalumps[i] = f_gwa->GetLump(li+i+1)->NewReader();
} }
if (result) result = DoLoadGLNodes(gwalumps); if (result) result = DoLoadGLNodes(gwalumps);
} }