v0.6.1: fixed evil eyes being able to shoot through walls in rare cases
This commit is contained in:
parent
caf6f5ca50
commit
dcf59af491
|
@ -134,6 +134,7 @@ public class Eye extends Mob {
|
|||
|
||||
spend( attackDelay() );
|
||||
|
||||
beam = new Ballistica(pos, beamTarget, Ballistica.STOP_TERRAIN);
|
||||
if (Dungeon.visible[pos] || Dungeon.visible[beam.collisionPos] ) {
|
||||
sprite.zap( beam.collisionPos );
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user