- fix polyobject init
This commit is contained in:
parent
8137162ca0
commit
496eba3acb
2 changed files with 3 additions and 1 deletions
|
|
@ -352,6 +352,7 @@ void MapLoader::PO_Init (void)
|
|||
InitSideLists ();
|
||||
|
||||
Level->Polyobjects.Resize(NumPolyobjs);
|
||||
for (auto &po : Level->Polyobjects) po.Level = Level; // must be done before the init loop below.
|
||||
|
||||
polyIndex = 0; // index polyobj number
|
||||
// Find the startSpot points, and spawn each polyobj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue