From 597d1eb3a462aa31f20a981fe7c0fb183d5524fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 1 Mar 2016 10:04:52 +0100 Subject: fix ugly null pointer bug in Map5... --- core/src/ch/asynk/rustanddust/game/Zone.java | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.1-2-g2b99