- fixed a few issues pointed out by the assert in the TArray [] operator.
This commit is contained in:
parent
77c4a57c51
commit
d00ad60437
4 changed files with 18 additions and 3 deletions
|
|
@ -709,7 +709,7 @@ void MapLoader::InitRenderInfo()
|
|||
PrepareSectorData();
|
||||
InitVertexData();
|
||||
FloodSectorStacks();
|
||||
TArray<int> checkmap(Level->vertexes.Size());
|
||||
TArray<int> checkmap(Level->vertexes.Size(), true);
|
||||
memset(checkmap.Data(), -1, sizeof(int)*Level->vertexes.Size());
|
||||
for(auto &sec : Level->sectors)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue