- fixed: AActor::Tick must call CallDoEffect, not DoEffect for its inventory items or scripted overrides won't be called.

This commit is contained in:
Christoph Oelckers 2016-12-30 21:32:06 +01:00
parent a105a08bd6
commit 5e34bad03b
1 changed files with 1 additions and 1 deletions

View File

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