- 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
|
|
@ -4047,7 +4047,7 @@ static bool DoRadiusGive(AActor *self, AActor *thing, PClassActor *item, int amo
|
|||
return false;
|
||||
doPass = true;
|
||||
}
|
||||
else if (((flags & RGF_ITEMS) && thing->IsKindOf(RUNTIME_CLASS(AInventory))) ||
|
||||
else if (((flags & RGF_ITEMS) && thing->IsKindOf(NAME_Inventory)) ||
|
||||
((flags & RGF_CORPSES) && thing->flags & MF_CORPSE) ||
|
||||
((flags & RGF_KILLED) && thing->flags6 & MF6_KILLED))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue