Remove unnecessary check.

This commit is contained in:
Mari the Deer 2024-03-13 20:54:20 +01:00
commit 8804366137
2 changed files with 2 additions and 4 deletions

View file

@ -290,8 +290,6 @@ extend Class SWWMStatusBar
}
private int CheckSecret( Line l )
{
if ( !mm_secretsectorcolor || !mm_unexploredsecretcolor )
return 0;
if ( l.frontsector && (l.frontsector.flags&Sector.SECF_WASSECRET) )
{
if ( !(l.frontsector.flags&Sector.SECF_SECRET) ) return 1;