summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-29 07:59:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-29 07:59:31 +0100
commitb6144eafe7f9a6ba4a79c452d60bc63cb3eca0bf (patch)
tree4b567ecbbddcffa7d25eecdf8902f11c906d3aac /core/src/ch/asynk/rustanddust/game
parentbc6ada37ab01906406f28efb2a28007d9c345666 (diff)
downloadRustAndDust-b6144eafe7f9a6ba4a79c452d60bc63cb3eca0bf.zip
RustAndDust-b6144eafe7f9a6ba4a79c452d60bc63cb3eca0bf.tar.gz
TankFireAnimation: aim before shooting
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map3Animations.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java b/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java
index 68bb441..0bca8c2 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java
@@ -115,7 +115,7 @@ public abstract class Map3Animations extends Map2Moves implements MoveToAnimatio
if (u.isA(Unit.UnitType.INFANTRY))
addAnimation(InfantryFireAnimation.get(game.config.fxVolume, from.getX(), from.getY(), to.getX(), to.getY(), halfWidth));
else
- addAnimation(TankFireAnimation.get(game.config.fxVolume, from.getX(), from.getY(), to.getX(), to.getY(), halfWidth));
+ addAnimation(TankFireAnimation.get(game.config.fxVolume, u, from.getX(), from.getY(), to.getX(), to.getY(), halfWidth));
}
}