v0.9.4: fixed spawned wraiths not opening doors

This commit is contained in:
Evan Debenham 2021-08-11 15:03:45 -04:00
parent 70df6fa3c7
commit 6a0e792aa5

View File

@ -106,6 +106,7 @@ public class Wraith extends Mob {
w.adjustStats( Dungeon.depth ); w.adjustStats( Dungeon.depth );
w.pos = pos; w.pos = pos;
w.state = w.HUNTING; w.state = w.HUNTING;
Dungeon.level.occupyCell(w);
GameScene.add( w, SPAWN_DELAY ); GameScene.add( w, SPAWN_DELAY );
w.sprite.alpha( 0 ); w.sprite.alpha( 0 );