* Key touch handler.
*/
void item_key_touch(void) {
- if (other.classname != "player")
+ if not(IS_PLAYER(other))
return;
// player already picked up this key
started_delay = FALSE;
// only player may trigger the lock
- if (other.classname != "player")
+ if not(IS_PLAYER(other))
return;