diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-11 14:47:28 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-11 14:47:28 +0200 |
commit | 79cc37d1dd46569f3c5e5a3cef0727494d6b24c6 (patch) | |
tree | 654e89359a35cbbb32ac317d64fb2684abfbec19 /core/src/ch/asynk/rustanddust/game/ctrl | |
parent | a5cef081cee24e162d18d48ff798612f4dafbbd5 (diff) | |
download | RustAndDust-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.java | 7 |
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(); |