v0.7.5b: fixed ghost hero not occupying the cell they spawn in

This commit is contained in:
Evan Debenham 2019-10-14 12:18:21 -04:00
parent 1b636c7d0d
commit 6f1251aeb7

View File

@ -147,6 +147,8 @@ public class DriedRose extends Artifact {
ghost.pos = Random.element(spawnPoints);
GameScene.add(ghost, 1f);
Dungeon.level.occupyCell(ghost);
CellEmitter.get(ghost.pos).start( ShaftParticle.FACTORY, 0.3f, 4 );
CellEmitter.get(ghost.pos).start( Speck.factory(Speck.LIGHT), 0.2f, 3 );