From 175e784b67ed5e33aae96f47d4a59ae03059c1d9 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 10 Apr 2017 15:46:30 +0300 Subject: [PATCH] Fixed applying of powerup effects after (un)morph https://mantis.zdoom.org/view.php?id=556 --- src/g_shared/a_morph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_morph.cpp b/src/g_shared/a_morph.cpp index 9259561b0..36ffd800b 100644 --- a/src/g_shared/a_morph.cpp +++ b/src/g_shared/a_morph.cpp @@ -635,7 +635,7 @@ void InitAllPowerupEffects(AInventory *item) { if (item->IsKindOf(ptype)) { - IFVIRTUALPTRNAME(item, NAME_Powerup, EndEffect) + IFVIRTUALPTRNAME(item, NAME_Powerup, InitEffect) { VMValue params[1] = { item }; VMFrameStack stack;