From dcf59af49187431014eab7c4be6ab1d2d59d56b2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 5 Aug 2017 02:52:37 -0400 Subject: [PATCH] v0.6.1: fixed evil eyes being able to shoot through walls in rare cases --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java index e965d52a4..c2695a5d8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java @@ -133,7 +133,8 @@ public class Eye extends Mob { } else { spend( attackDelay() ); - + + beam = new Ballistica(pos, beamTarget, Ballistica.STOP_TERRAIN); if (Dungeon.visible[pos] || Dungeon.visible[beam.collisionPos] ) { sprite.zap( beam.collisionPos ); return false;