Minimap changes:
- Locked doors and special lines take priority over secret sectors. - Secret flag for lines is ignored when Omnisight is obtained.
This commit is contained in:
parent
f452d1cbac
commit
4f53cf6347
2 changed files with 5 additions and 5 deletions
|
|
@ -395,9 +395,7 @@ extend Class SWWMStatusBar
|
|||
{
|
||||
int secwit = CheckSecret(l);
|
||||
int lock = SWWMUtility.GetLineLock(l);
|
||||
if ( secwit == 1 ) col = mm_secretsectorcolor;
|
||||
else if ( secwit == 2 ) col = mm_unexploredsecretcolor;
|
||||
else if ( l.flags&Line.ML_SECRET )
|
||||
if ( (l.flags&Line.ML_SECRET) && !level.allmap ) // allmap will reveal these
|
||||
{
|
||||
if ( am_cheat && l.backsector && mm_secretwallcolor )
|
||||
col = mm_secretwallcolor;
|
||||
|
|
@ -445,6 +443,8 @@ extend Class SWWMStatusBar
|
|||
}
|
||||
else if ( mm_specialwallcolor && ShowTriggerLine(l) )
|
||||
col = mm_specialwallcolor;
|
||||
else if ( secwit == 1 ) col = mm_secretsectorcolor; // locked doors and trigger lines take priority over secrets
|
||||
else if ( secwit == 2 ) col = mm_unexploredsecretcolor;
|
||||
else if ( l.frontsector && l.backsector )
|
||||
{
|
||||
if ( !CmpFloorPlanes(l) ) col = mm_fdwallcolor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue