From 1c01cf76ef735148eacadfd548ab495f5390715c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 27 Jul 2023 12:14:16 -0400 Subject: [PATCH] v2.2.0: fixed storm clouds not clearing fire or damaging fiery enemies --- .../shatteredpixeldungeon/actors/blobs/StormCloud.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/StormCloud.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/StormCloud.java index 22b256254..f28f07447 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/StormCloud.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/blobs/StormCloud.java @@ -43,11 +43,11 @@ public class StormCloud extends Blob { if (cur[cell] > 0) { Dungeon.level.setCellToWater(true, cell); if (fire != null){ - fire.clear(i); + fire.clear(cell); } //fiery enemies take damage as if they are in toxic gas - Char ch = Actor.findChar(i); + Char ch = Actor.findChar(cell); if (ch != null && !ch.isImmune(getClass()) && Char.hasProp(ch, Char.Property.FIERY)){