v0.8.2c: fixed item clearing in Tengu's arena being too permissive
This commit is contained in:
parent
71df55ef11
commit
902b728799
|
@ -195,6 +195,9 @@ public class NewPrisonBossLevel extends Level {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//area where items/chars are preserved when moving to the arena
|
||||||
|
private static final Rect pauseSafeArea = new Rect(9, 2, 12, 12);
|
||||||
|
|
||||||
private void setMapPause(){
|
private void setMapPause(){
|
||||||
setMapStart();
|
setMapStart();
|
||||||
|
|
||||||
|
@ -416,7 +419,7 @@ public class NewPrisonBossLevel extends Level {
|
||||||
|
|
||||||
Dungeon.hero.interrupt();
|
Dungeon.hero.interrupt();
|
||||||
|
|
||||||
clearEntities( arena ); //clear anything not in the arena
|
clearEntities( pauseSafeArea );
|
||||||
|
|
||||||
setMapArena();
|
setMapArena();
|
||||||
cleanMapState();
|
cleanMapState();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user