- 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
1 changed files with 1 additions and 1 deletions

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)