Update am_map.cpp

This commit is contained in:
Cacodemon345 2020-06-20 13:01:13 +06:00 committed by Christoph Oelckers
parent 0d3134d825
commit da04616b7d

View file

@ -2902,7 +2902,7 @@ void DAutomap::drawThings ()
while (t) while (t)
{ {
if (am_cheat > 0 || !(t->flags6 & MF6_NOTONAUTOMAP) if (am_cheat > 0 || !(t->flags6 & MF6_NOTONAUTOMAP)
|| (am_thingrenderstyles && !(t->renderflags & RF_INVISIBLE))) || (am_thingrenderstyles && !(t->renderflags & RF_INVISIBLE) && !(t->flags6 & MF6_NOTONAUTOMAP)))
{ {
DVector3 pos = t->PosRelative(MapPortalGroup); DVector3 pos = t->PosRelative(MapPortalGroup);
p.x = pos.X; p.x = pos.X;