mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
Fixed crash on loading GL nodes
See http://mantis.zdoom.org/view.php?id=21
This commit is contained in:
parent
46179936ec
commit
d9efeb206d
1 changed files with 2 additions and 1 deletions
|
@ -1003,9 +1003,10 @@ void LoadZNodes(FileReaderBase &data, int glnodes)
|
|||
line.v1 = line.v1 - &level.vertexes[0] + &newvertarray[0];
|
||||
line.v2 = line.v2 - &level.vertexes[0] + &newvertarray[0];
|
||||
}
|
||||
level.vertexes = std::move(newvertarray);
|
||||
}
|
||||
|
||||
level.vertexes = std::move(newvertarray);
|
||||
|
||||
// Read the subsectors
|
||||
DWORD numSubs, currSeg;
|
||||
|
||||
|
|
Loading…
Reference in a new issue