summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/ctrl
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-11 14:47:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-11 14:47:28 +0200
commit79cc37d1dd46569f3c5e5a3cef0727494d6b24c6 (patch)
tree654e89359a35cbbb32ac317d64fb2684abfbec19 /core/src/ch/asynk/rustanddust/game/ctrl
parenta5cef081cee24e162d18d48ff798612f4dafbbd5 (diff)
downloadRustAndDust-79cc37d1dd46569f3c5e5a3cef0727494d6b24c6.zip
RustAndDust-79cc37d1dd46569f3c5e5a3cef0727494d6b24c6.tar.gz
Map5Marshal,Ctrl: use Unit.IterableSet<Unit>, call Unit.clear() at exit
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/ctrl')
-rw-r--r--core/src/ch/asynk/rustanddust/game/ctrl/Solo.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
index 19dd390..d41034f 100644
--- a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
+++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
@@ -45,13 +45,6 @@ public class Solo extends Ctrl
load(Marshal.Mode.MAP, r.map);
load(Marshal.Mode.PLAYERS, r.players);
load(Marshal.Mode.ORDERS, r.orders);
- switch (game.config.loadMode)
- {
- case REPLAY_BATTLE: break;
- default:
- battle.getMap().clearMarshalUnits();
- break;
- }
synched = r.synched;
r.dispose();