Show "all keys" doors as multicolor in the minimap.
Deprecate IsValidLockNum and GetLockColor utility functions.
This commit is contained in:
parent
6d4c0cc217
commit
116bca4b0b
4 changed files with 33 additions and 9 deletions
|
|
@ -208,13 +208,13 @@ extend Class SWWMUtility
|
|||
return false;
|
||||
}
|
||||
|
||||
static bool IsValidLockNum( int l )
|
||||
deprecated("4.11","Use Key.IsLockDefined() instead") static bool IsValidLockNum( int l )
|
||||
{
|
||||
if ( (l < 1) || (l > 255) ) return true;
|
||||
return SWWMCachedLockInfo.IsValidLock(l);
|
||||
}
|
||||
|
||||
static Color GetLockColor( int l )
|
||||
deprecated("4.11","Use Key.GetMapColorForLock() instead") static Color GetLockColor( int l )
|
||||
{
|
||||
return SWWMCachedLockInfo.GetLockColor(l);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue