mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- 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:
parent
ece980d372
commit
76816f7da8
2 changed files with 4 additions and 1 deletions
|
@ -2353,7 +2353,7 @@ void AM_Drawer ()
|
|||
}
|
||||
AM_activateNewScale();
|
||||
|
||||
if (am_textured && hasglnodes && textured)
|
||||
if (am_textured && hasglnodes && textured && !viewactive)
|
||||
AM_drawSubsectors();
|
||||
|
||||
if (grid)
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue