Fix invalid locks not appearing in minimap.
This commit is contained in:
parent
1da4bd6126
commit
de525e6b3a
3 changed files with 4 additions and 5 deletions
|
|
@ -1294,8 +1294,7 @@ Class SWWMStatusBar : BaseStatusBar
|
|||
|| (l.special == Teleport_Line)) )
|
||||
col = mm_intralevelcolor;
|
||||
else if ( mm_displaylocks
|
||||
&& (lock > 1) && (lock < 256)
|
||||
&& SWWMUtility.IsValidLockNum(lock) )
|
||||
&& (lock > 0) && (lock < 256) )
|
||||
{
|
||||
let lcol = SWWMUtility.GetLockColor(lock);
|
||||
if ( lcol ) col = lcol;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue