Fixed applying of powerup effects after (un)morph

https://mantis.zdoom.org/view.php?id=556
This commit is contained in:
alexey.lysiuk 2017-04-10 15:46:30 +03:00
parent 287a0933bd
commit 175e784b67

View file

@ -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;