diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java index 268ec49e9..22e133b87 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java @@ -90,7 +90,7 @@ public class Guard extends Mob { Ballistica chain = new Ballistica(pos, target, Ballistica.PROJECTILE); - if (chain.collisionPos != enemy.pos || Level.pit[chain.path.get(1)]) + if (chain.collisionPos != enemy.pos || chain.path.size() < 2 || Level.pit[chain.path.get(1)]) return false; else { int newPos = -1;