From 6a0e792aa55818ca78ebf09029ba3aa1d16e4fd8 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 11 Aug 2021 15:03:45 -0400 Subject: [PATCH] v0.9.4: fixed spawned wraiths not opening doors --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/Wraith.java | 1 + 1 file changed, 1 insertion(+) 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 4f839d82c..0af9c3c89 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 @@ -106,6 +106,7 @@ public class Wraith extends Mob { w.adjustStats( Dungeon.depth ); w.pos = pos; w.state = w.HUNTING; + Dungeon.level.occupyCell(w); GameScene.add( w, SPAWN_DELAY ); w.sprite.alpha( 0 );