From c2053fae96df77686a06ed2de01b76e697509a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bokros=20B=C3=A1lint?= Date: Sat, 14 May 2016 13:23:59 +0200 Subject: [PATCH] Simplified isSteppable in Wall --- cicaprojekt/Wall.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cicaprojekt/Wall.java b/cicaprojekt/Wall.java index fe50f2a..feb0570 100644 --- a/cicaprojekt/Wall.java +++ b/cicaprojekt/Wall.java @@ -20,10 +20,7 @@ public class Wall extends Tile { @Override public boolean isSteppable() { - if (sg != null) - return true; - - return false; + return sg != null; } public void clearStargate() {