diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-10 12:59:58 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-05-10 12:59:58 +0200 |
commit | c45f691fa3d11db781e4d069ddc27606bbe8a5f8 (patch) | |
tree | c94310b1e77c962bf431a25ad5fc0b8de655cc17 | |
parent | 699d99ec7c2fb68cdda77e994d8329f4e1f47df6 (diff) | |
download | RustAndDust-c45f691fa3d11db781e4d069ddc27606bbe8a5f8.zip RustAndDust-c45f691fa3d11db781e4d069ddc27606bbe8a5f8.tar.gz |
Map4Orders: prepareReplayCurrentTurn() -> prepareReplayLastTurn()
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 3c9a56c..11f706c 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -165,7 +165,7 @@ public abstract class Ctrl implements Disposable } break; case REPLAY_LAST: - map.prepareReplayCurrentTurn(); + map.prepareReplayLastTurn(); this.stateAfterAnimation = StateType.REPLAY; break; case REPLAY_BATTLE: diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java index c30e6bd..7b19479 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java @@ -189,7 +189,7 @@ public abstract class Map4Orders extends Map3Animations } } - public void prepareReplayCurrentTurn() + public void prepareReplayLastTurn() { int s = orders.size(); while (s > 0) { |