- scriptified PowerTargeter.

This commit is contained in:
Christoph Oelckers 2017-01-15 19:44:43 +01:00
commit 7503937a84
11 changed files with 147 additions and 147 deletions

View file

@ -368,19 +368,6 @@ void AInventory::CallDoEffect()
}
//===========================================================================
//
// AInventory :: Travelled
//
// Called when an item in somebody's inventory is carried over to another
// map, in case it needs to do special reinitialization.
//
//===========================================================================
void AInventory::Travelled ()
{
}
//===========================================================================
//
// AInventory :: OwnerDied
@ -1403,7 +1390,7 @@ bool AInventory::TryPickup (AActor *&toucher)
copy->ItemFlags &= ~IF_CREATECOPYMOVED;
}
// Continue onwards with the rest
copy->AttachToOwner (newtoucher);
copy->CallAttachToOwner (newtoucher);
if (ItemFlags & IF_AUTOACTIVATE)
{
if (copy->CallUse (true))