- fixed: The polyobject spawn point collector did not properly check for bad mapthings.

This commit is contained in:
Christoph Oelckers 2018-12-29 08:49:53 +01:00
parent dd3dba2ef1
commit 982c622367

View file

@ -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)