mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: The polyobject spawn point collector did not properly check for bad mapthings.
This commit is contained in:
parent
dd3dba2ef1
commit
982c622367
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ void MapLoader::PO_Init (void)
|
|||
TArray<FMapThing *> polythings;
|
||||
for (auto &mthing : MapThingsConverted)
|
||||
{
|
||||
if (mthing.EdNum == 0 || mthing.EdNum == -1) continue;
|
||||
if (mthing.EdNum == 0 || mthing.EdNum == -1 || mthing.info == nullptr) continue;
|
||||
|
||||
FDoomEdEntry *mentry = mthing.info;
|
||||
switch (mentry->Special)
|
||||
|
|
Loading…
Reference in a new issue