summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-21 22:08:57 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-21 22:08:57 +0100
commitb9f8cf9e93acd762f2c9f743c599f300e3f7d4ca (patch)
treec9036ad7996a54dc68476b932f888fecc09fb075 /core/src/ch
parent52becd95836b07ac1fc1ffd9d855db23daac6700 (diff)
downloadRustAndDust-b9f8cf9e93acd762f2c9f743c599f300e3f7d4ca.zip
RustAndDust-b9f8cf9e93acd762f2c9f743c599f300e3f7d4ca.tar.gz
Board: findBestEntry return Orientation.opposite()
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java
index 1ad4045..121811a 100644
--- a/core/src/ch/asynk/tankontank/engine/Board.java
+++ b/core/src/ch/asynk/tankontank/engine/Board.java
@@ -369,7 +369,7 @@ public abstract class Board implements Disposable, Animation
}
}
- return entry;
+ return entry.opposite();
}
public void enableOverlayOn(Tile tile, int i, boolean enable)