diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-18 20:05:41 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-18 20:05:41 +0100 |
commit | 8b72c10418d282ef23799bfb1307dbc78051e3c9 (patch) | |
tree | b5dec0d027e3dbdcd090b4dc8141b2eaae9c965d /core | |
parent | 2d93d8e9690f2fe14037bdca67fd74d58cc22912 (diff) | |
download | RustAndDust-8b72c10418d282ef23799bfb1307dbc78051e3c9.zip RustAndDust-8b72c10418d282ef23799bfb1307dbc78051e3c9.tar.gz |
Map: leaveBoard does not reset Pawn but add it to activatedPawns
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) |