From dd40778c75796511804f66334ac2544a96e365eb Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 18 May 2020 17:48:10 +0300 Subject: [PATCH] - fixed map things erroneously treated as polyobject anchors/spots https://forum.zdoom.org/viewtopic.php?t=68601 --- src/maploader/polyobjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maploader/polyobjects.cpp b/src/maploader/polyobjects.cpp index 3c0a567adb..d1516e84b8 100644 --- a/src/maploader/polyobjects.cpp +++ b/src/maploader/polyobjects.cpp @@ -331,7 +331,7 @@ void MapLoader::PO_Init (void) TArray 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)