[IGfxWorld] Fix portal importing
This commit is contained in:
parent
4f608b3a19
commit
3406baca4d
@ -81,7 +81,10 @@ namespace Assets
|
||||
|
||||
for (int j = 0; j < cell->portalCount; ++j)
|
||||
{
|
||||
cell->portals[i].vertices = reader.readArray<Game::vec3_t>(cell->portals[i].vertexCount);
|
||||
if (cell->portals[j].vertices)
|
||||
{
|
||||
cell->portals[j].vertices = reader.readArray<Game::vec3_t>(cell->portals[j].vertexCount & 0xFF);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user