v0.9.4: fixed spawned wraiths not opening doors
This commit is contained in:
parent
70df6fa3c7
commit
6a0e792aa5
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user