From 5e34bad03b81b6d3200fc321b8b8e45fc56cb35e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 30 Dec 2016 21:32:06 +0100 Subject: [PATCH] - fixed: AActor::Tick must call CallDoEffect, not DoEffect for its inventory items or scripted overrides won't be called. --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 7e5dbc88e7..8d31035a20 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -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; }