diff --git a/src/maploader/polyobjects.cpp b/src/maploader/polyobjects.cpp index 83ab246d7..78607d742 100644 --- a/src/maploader/polyobjects.cpp +++ b/src/maploader/polyobjects.cpp @@ -330,7 +330,7 @@ void MapLoader::PO_Init (void) TArray 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)