summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Orientation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Orientation.java b/core/src/ch/asynk/tankontank/engine/Orientation.java
index d985b9c..8ba9388 100644
--- a/core/src/ch/asynk/tankontank/engine/Orientation.java
+++ b/core/src/ch/asynk/tankontank/engine/Orientation.java
@@ -93,8 +93,8 @@ public enum Orientation
if (dx > 0) return Orientation.NORTH_WEST;
return Orientation.SOUTH_WEST;
} else {
- if (dx > 0) return Orientation.NORTH_EAST;
- return Orientation.SOUTH_EAST;
+ if (dx < 0) return Orientation.SOUTH_EAST;
+ return Orientation.NORTH_EAST;
}
}
}