In the textured 2D mode of Mapster32, only texture non-grayed out sectors.

git-svn-id: https://svn.eduke32.com/eduke32@2029 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-09-17 14:25:42 +00:00
parent 9b1d384723
commit 19ebd8feb3

View file

@ -2674,7 +2674,13 @@ void overheadeditor(void)
if (graphicsmode && !m32_sideview)
{
Bmemset(show2dsector, 0xff, sizeof(show2dsector));
Bmemset(show2dsector, 0, sizeof(show2dsector));
for (i=0; i<numsectors; i++)
{
YAX_SKIPSECTOR(i);
show2dsector[i>>3] |= (1<<(i&7));
}
setview(0, 0, xdim-1, ydim16-1);
if (graphicsmode == 2)