- fixed map things erroneously treated as polyobject anchors/spots

https://forum.zdoom.org/viewtopic.php?t=68601
This commit is contained in:
alexey.lysiuk 2020-05-18 17:48:10 +03:00
parent 1fd2ea46d2
commit dd40778c75

View file

@ -331,7 +331,7 @@ void MapLoader::PO_Init (void)
TArray<FMapThing *> polythings;
for (auto &mthing : MapThingsConverted)
{
if (mthing.EdNum == 0 || mthing.EdNum == -1 || mthing.info == nullptr) continue;
if (mthing.EdNum == 0 || mthing.EdNum == -1 || mthing.info == nullptr || mthing.info->Type != nullptr) continue;
FDoomEdEntry *mentry = mthing.info;
switch (mentry->Special)