Rename ValidLock to IsLockDefined (more descriptive).

This commit is contained in:
Mari the Deer 2022-12-23 18:22:13 +01:00 committed by Christoph Oelckers
commit 6f8901ea87
4 changed files with 5 additions and 5 deletions

View file

@ -517,7 +517,7 @@ int P_CheckKeys (AActor *owner, int keynum, bool remote, bool quiet)
}
// [MK] for ZScript, simply returns if a lock is defined or not
int P_ValidLock(int keynum)
int P_IsLockDefined(int keynum)
{
return !!Locks.CheckKey(keynum);
}