v0.6.4: fixed some entities not being visually cleared in prison boss

This commit is contained in:
Evan Debenham 2018-04-01 13:46:39 -04:00
parent a8af20fdaa
commit 67bdd5b5fc

View File

@ -383,8 +383,6 @@ public class PrisonBossLevel extends Level {
tengu.pos = 5+28*32;
tengu.sprite.place(5 + 28 * 32);
changeMap(MAP_END);
//remove all mobs, but preserve allies
ArrayList<Mob> allies = new ArrayList<>();
@ -395,6 +393,9 @@ public class PrisonBossLevel extends Level {
}
}
clearEntities(null);
changeMap(MAP_END);
for (Mob m : allies){
do{
m.pos = Random.IntRange(3, 7) + Random.IntRange(26, 30)*32;