v0.7.5b: fixed ghost hero not occupying the cell they spawn in
This commit is contained in:
parent
1b636c7d0d
commit
6f1251aeb7
|
@ -147,6 +147,8 @@ public class DriedRose extends Artifact {
|
||||||
ghost.pos = Random.element(spawnPoints);
|
ghost.pos = Random.element(spawnPoints);
|
||||||
|
|
||||||
GameScene.add(ghost, 1f);
|
GameScene.add(ghost, 1f);
|
||||||
|
Dungeon.level.occupyCell(ghost);
|
||||||
|
|
||||||
CellEmitter.get(ghost.pos).start( ShaftParticle.FACTORY, 0.3f, 4 );
|
CellEmitter.get(ghost.pos).start( ShaftParticle.FACTORY, 0.3f, 4 );
|
||||||
CellEmitter.get(ghost.pos).start( Speck.factory(Speck.LIGHT), 0.2f, 3 );
|
CellEmitter.get(ghost.pos).start( Speck.factory(Speck.LIGHT), 0.2f, 3 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user