sw/src/draw.cpp: Don't draw rooms if textured overhead map is drawn

later. This also turns out to fix a Polymost-specific bug revealed
in SVN r8711. Further remove a call to PicInView which does nothing.

git-svn-id: https://svn.eduke32.com/eduke32@8766 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
ny00123 2020-03-18 19:49:17 +00:00 committed by Christoph Oelckers
parent c110c1018d
commit da1d97ba9c

View file

@ -2126,11 +2126,8 @@ drawscreen(PLAYERp pp)
JS_DrawMirrors(pp, tx, ty, tz, tang, thoriz); JS_DrawMirrors(pp, tx, ty, tz, tang, thoriz);
} }
if (!FAF_DebugView) if (dimensionmode != 6 && !FAF_DebugView)
{
FAF_DrawRooms(tx, ty, tz, tang, thoriz, tsectnum); FAF_DrawRooms(tx, ty, tz, tang, thoriz, tsectnum);
PicInView(FAF_MIRROR_PIC, FALSE);
}
analyzesprites(tx, ty, tz, FALSE); analyzesprites(tx, ty, tz, FALSE);
post_analyzesprites(); post_analyzesprites();