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

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1110 \cu(Wed 13 Mar 20:50:39 CET 2024)\c-";
SWWM_SHORTVER="\cw1.3pre r1110 \cu(2024-03-13 20:50:39)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1111 \cu(Wed 13 Mar 20:54:20 CET 2024)\c-";
SWWM_SHORTVER="\cw1.3pre r1111 \cu(2024-03-13 20:54:20)\c-";

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;