- disable check for hidden sectors because it does more harm than good.

- don't draw a textured automap in overlay mode.


SVN r2614 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-27 17:49:27 +00:00
parent ece980d372
commit 76816f7da8
2 changed files with 4 additions and 1 deletions

View File

@ -2353,7 +2353,7 @@ void AM_Drawer ()
}
AM_activateNewScale();
if (am_textured && hasglnodes && textured)
if (am_textured && hasglnodes && textured && !viewactive)
AM_drawSubsectors();
if (grid)

View File

@ -1387,6 +1387,8 @@ void P_SetRenderSector()
TArray<subsector_t *> undetermined;
subsector_t * ss;
#if 0 // doesn't work as expected :(
// hide all sectors on textured automap that only have hidden lines.
bool *hidesec = new bool[numsectors];
for(i = 0; i < numsectors; i++)
@ -1409,6 +1411,7 @@ void P_SetRenderSector()
if (hidesec[i]) sectors[i].MoreFlags |= SECF_HIDDEN;
}
delete [] hidesec;
#endif
// Check for incorrect partner seg info so that the following code does not crash.
for(i=0;i<numsegs;i++)