From 8b72c10418d282ef23799bfb1307dbc78051e3c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 18 Nov 2014 20:05:41 +0100 Subject: Map: leaveBoard does not reset Pawn but add it to activatedPawns --- core/src/ch/asynk/tankontank/game/Map.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 7682893..40d2dc3 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -193,7 +193,7 @@ public abstract class Map extends Board public void leaveBoard(Pawn pawn) { removePawn(pawn); - pawn.reset(); + activatedPawns.add(pawn); } public int movePawn(Pawn pawn, Orientation o) -- cgit v1.1-2-g2b99