From 5387559191e6d06c344ad9c2eb620768585cc591 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 17 Aug 2020 10:59:30 -0400 Subject: [PATCH] v0.8.2b: fully allowed wraiths to spawn ontop of traps --- .../shatteredpixeldungeon/actors/mobs/Wraith.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java index 34b597921..3b86d300f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java @@ -95,10 +95,7 @@ public class Wraith extends Mob { public static void spawnAround( int pos ) { for (int n : PathFinder.NEIGHBOURS4) { - int cell = pos + n; - if (Dungeon.level.passable[cell] && Actor.findChar( cell ) == null) { - spawnAt( cell ); - } + spawnAt( pos + n ); } }