diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-01 10:04:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-01 10:04:52 +0100 |
commit | 597d1eb3a462aa31f20a981fe7c0fb183d5524fe (patch) | |
tree | 4f3a2ada8abac971007ab2afeec941d11fb3904d /core/src/ch/asynk | |
parent | 4d8a62502c87c283c7dfd53a2ce6a9ddbea403e6 (diff) | |
download | RustAndDust-597d1eb3a462aa31f20a981fe7c0fb183d5524fe.zip RustAndDust-597d1eb3a462aa31f20a981fe7c0fb183d5524fe.tar.gz |
fix ugly null pointer bug in Map5...
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Zone.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Zone.java b/core/src/ch/asynk/rustanddust/game/Zone.java index 43aabbe..6acecec 100644 --- a/core/src/ch/asynk/rustanddust/game/Zone.java +++ b/core/src/ch/asynk/rustanddust/game/Zone.java @@ -11,6 +11,8 @@ public class Zone extends TileSet public Zone(Map map, int n) { super(map, n); + this.allowedMoves = Orientation.KEEP.s; + this.orientation = Orientation.KEEP; } public void add(int col, int row) |