v2.1.0: fixed rare cases of respawn cells in sewer boss entrance doors
This commit is contained in:
@@ -158,6 +158,7 @@ public class SewerBossLevel extends SewerLevel {
|
|||||||
for (Point p : roomEntrance.getPoints()){
|
for (Point p : roomEntrance.getPoints()){
|
||||||
int cell = pointToCell(p);
|
int cell = pointToCell(p);
|
||||||
if (passable[cell]
|
if (passable[cell]
|
||||||
|
&& roomEntrance.inside(p)
|
||||||
&& Actor.findChar(cell) == null
|
&& Actor.findChar(cell) == null
|
||||||
&& (!Char.hasProp(ch, Char.Property.LARGE) || openSpace[cell])){
|
&& (!Char.hasProp(ch, Char.Property.LARGE) || openSpace[cell])){
|
||||||
candidates.add(cell);
|
candidates.add(cell);
|
||||||
|
|||||||
Reference in New Issue
Block a user