mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: AActor::Tick must call CallDoEffect, not DoEffect for its inventory items or scripted overrides won't be called.
This commit is contained in:
parent
a105a08bd6
commit
5e34bad03b
1 changed files with 1 additions and 1 deletions
|
@ -3801,7 +3801,7 @@ void AActor::Tick ()
|
||||||
// by the order in the inventory, not the order in the thinker table
|
// by the order in the inventory, not the order in the thinker table
|
||||||
while (item != NULL && item->Owner == this)
|
while (item != NULL && item->Owner == this)
|
||||||
{
|
{
|
||||||
item->DoEffect();
|
item->CallDoEffect();
|
||||||
item = item->Inventory;
|
item = item->Inventory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue