From 1a3dade6044d1a35b438b0f569e2e56292a631fd Mon Sep 17 00:00:00 2001 From: KPhoenix Date: Thu, 7 Mar 2024 17:37:05 -0500 Subject: [PATCH] Fix no consume when killing golem --- Source/spells.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/spells.cpp b/Source/spells.cpp index 42a7ca44d1d..f305e2b8125 100644 --- a/Source/spells.cpp +++ b/Source/spells.cpp @@ -149,7 +149,7 @@ void ConsumeSpell(Player &player, SpellID sn) { Monster &golem = Monsters[player.getId()]; - if (golem.position.tile != GolemHoldingCell && &player == MyPlayer) + if (golem.hitPoints <= 0 && &player == MyPlayer) return; switch (player.executedSpell.spellType) { case SpellType::Skill: