summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-29 09:09:46 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-29 09:09:46 +0100
commit0064504671338a6c03c9eed741b8cb08527d60b2 (patch)
tree889ccd06ad0efc6c97e4e1962cbd2804ac61af91
parent51dbf11469b53131489f97bb821da04f0ceba1b0 (diff)
downloadRustAndDust-0064504671338a6c03c9eed741b8cb08527d60b2.zip
RustAndDust-0064504671338a6c03c9eed741b8cb08527d60b2.tar.gz
StateAnimation: do nothing with from and to
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateAnimation.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/states/StateAnimation.java b/core/src/ch/asynk/tankontank/game/states/StateAnimation.java
index ec815aa..21f79d9 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateAnimation.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateAnimation.java
@@ -13,10 +13,6 @@ public class StateAnimation extends StateCommon
@Override
public void leave(StateType nextState)
{
- if (nextState != StateType.SELECT) {
- from = null;
- to = null;
- }
}
@Override