summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-10 12:59:58 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-10 12:59:58 +0200
commitc45f691fa3d11db781e4d069ddc27606bbe8a5f8 (patch)
treec94310b1e77c962bf431a25ad5fc0b8de655cc17 /core/src/ch
parent699d99ec7c2fb68cdda77e994d8329f4e1f47df6 (diff)
downloadRustAndDust-c45f691fa3d11db781e4d069ddc27606bbe8a5f8.zip
RustAndDust-c45f691fa3d11db781e4d069ddc27606bbe8a5f8.tar.gz
Map4Orders: prepareReplayCurrentTurn() -> prepareReplayLastTurn()
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java2
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map4Orders.java2
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) {