From 478d72b37b757c577e8a3b5473e51165650ccb81 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 14 Jun 2017 22:13:40 +0300 Subject: [PATCH] Fixed resetting of activation failed flag on pickup https://forum.zdoom.org/viewtopic.php?t=56896 --- wadsrc/static/zscript/inventory/inventory.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/inventory/inventory.txt b/wadsrc/static/zscript/inventory/inventory.txt index 750296565..e7786059b 100644 --- a/wadsrc/static/zscript/inventory/inventory.txt +++ b/wadsrc/static/zscript/inventory/inventory.txt @@ -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