- scriptified the remains of APowerup.

- ensure that actor defaults contain a valid virtual table and class pointer so that they can actually use virtual and class-dependent method functions. This is needed for retrieving script variables from them.
This commit is contained in:
Christoph Oelckers 2017-01-18 10:33:03 +01:00
parent b41d4d9f84
commit 534b2ebbfb
15 changed files with 65 additions and 172 deletions

View file

@ -3954,7 +3954,7 @@ void AActor::Tick ()
// by the order in the inventory, not the order in the thinker table
while (item != NULL && item->Owner == this)
{
item->CallDoEffect();
item->DoEffect();
item = item->Inventory;
}