- scriptified the remains of AKey.
- replaced Key.KeyNumber with special1. This is only for internal bookkeeping purposes so there's really no need to complicate this with a new variable when this one works just as well.
This commit is contained in:
parent
d9fd2d509f
commit
d8acf774a6
12 changed files with 57 additions and 78 deletions
|
|
@ -642,7 +642,7 @@ static void TakeStrifeItem (player_t *player, PClassActor *itemtype, int amount)
|
|||
return;
|
||||
|
||||
// Don't take keys.
|
||||
if (itemtype->IsDescendantOf (RUNTIME_CLASS(AKey)))
|
||||
if (itemtype->IsDescendantOf (PClass::FindActor(NAME_Key)))
|
||||
return;
|
||||
|
||||
// Don't take the sigil.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue