- started replacing direct references to class AInventory.
The easiest part was the type checks which could be changed to the name variant with a global search and replace.
This commit is contained in:
parent
6fd3bea38c
commit
bfcd714186
14 changed files with 19 additions and 19 deletions
|
|
@ -178,7 +178,7 @@ static void AddOneKey(Keygroup *keygroup, PClassActor *mi, FScanner &sc)
|
|||
if (mi)
|
||||
{
|
||||
// Any inventory item can be used to unlock a door
|
||||
if (mi->IsDescendantOf(RUNTIME_CLASS(AInventory)))
|
||||
if (mi->IsDescendantOf(NAME_Inventory))
|
||||
{
|
||||
OneKey k = {mi,1};
|
||||
keygroup->anykeylist.Push (k);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue