mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fix in GL nodes loader.
This commit is contained in:
parent
f087903fca
commit
a2100410f2
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue