From 6530cf06757b51417584407f80d53ea58cf6e63c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 14 Sep 2017 00:32:00 -0400 Subject: [PATCH] v0.6.2: fixed a bug with connection limits on hidden larder rooms --- .../levels/rooms/secret/SecretLarderRoom.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretLarderRoom.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretLarderRoom.java index 4359ff368..1d63808f3 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretLarderRoom.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/secret/SecretLarderRoom.java @@ -40,7 +40,7 @@ public class SecretLarderRoom extends SecretRoom { @Override public boolean canConnect(Point p) { //refuses connections from the top - return super.canConnect(p) && p.x > top+1; + return super.canConnect(p) && p.y > top+1; } @Override