Rename ValidLock to IsLockDefined (more descriptive).
This commit is contained in:
parent
b85add01c7
commit
6f8901ea87
4 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue