From d62ce0334ea68f5a40c7cf36c768b787465fd086 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 5 Dec 2020 15:16:30 -0500 Subject: [PATCH] v0.9.1: fixed snipers mark being applicable to the hero --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 8b6ee36e2..1ed3fd799 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -1066,7 +1066,7 @@ public class Hero extends Char { switch (subClass) { case SNIPER: - if (wep instanceof MissileWeapon && !(wep instanceof SpiritBow.SpiritArrow)) { + if (wep instanceof MissileWeapon && !(wep instanceof SpiritBow.SpiritArrow) && enemy != this) { Actor.add(new Actor() { {