Show "all keys" doors as multicolor in the minimap.

Deprecate IsValidLockNum and GetLockColor utility functions.
This commit is contained in:
Mari the Deer 2022-12-23 18:26:12 +01:00
commit 116bca4b0b
4 changed files with 33 additions and 9 deletions

View file

@ -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);
}