v0.7.0: fixed further bugs with teleportation and locked rooms
This commit is contained in:
parent
f2145237ed
commit
4de7f3752e
|
@ -147,7 +147,7 @@ public class ScrollOfTeleportation extends Scroll {
|
|||
if (r instanceof SpecialRoom){
|
||||
int terr;
|
||||
boolean locked = false;
|
||||
for (Point p : r.charPlaceablePoints(level)){
|
||||
for (Point p : r.getPoints()){
|
||||
terr = level.map[level.pointToCell(p)];
|
||||
if (terr == Terrain.LOCKED_DOOR || terr == Terrain.BARRICADE){
|
||||
locked = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user