Fixed resetting of activation failed flag on pickup

https://forum.zdoom.org/viewtopic.php?t=56896
This commit is contained in:
alexey.lysiuk 2017-06-14 22:13:40 +03:00
parent c22017f981
commit 478d72b37b

View file

@ -266,7 +266,7 @@ class Inventory : Actor native
if (copy.bInitEffectFailed)
{
if (copy != self) copy.Destroy();
else bInitEffectFailed;
else bInitEffectFailed = false;
return false;
}
// Handle owner-changing powerups