From c45f691fa3d11db781e4d069ddc27606bbe8a5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 10 May 2016 12:59:58 +0200 Subject: Map4Orders: prepareReplayCurrentTurn() -> prepareReplayLastTurn() --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 2 +- 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) { -- cgit v1.1-2-g2b99