v2.1.0: fixed rare cases of respawn cells in sewer boss entrance doors

This commit is contained in:
Evan Debenham
2023-05-30 13:01:32 -04:00
parent ca013e3cbb
commit 4a93af73ab

View File

@@ -158,6 +158,7 @@ public class SewerBossLevel extends SewerLevel {
for (Point p : roomEntrance.getPoints()){
int cell = pointToCell(p);
if (passable[cell]
&& roomEntrance.inside(p)
&& Actor.findChar(cell) == null
&& (!Char.hasProp(ch, Char.Property.LARGE) || openSpace[cell])){
candidates.add(cell);