diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-29 07:59:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-29 07:59:31 +0100 |
commit | b6144eafe7f9a6ba4a79c452d60bc63cb3eca0bf (patch) | |
tree | 4b567ecbbddcffa7d25eecdf8902f11c906d3aac /core/src/ch/asynk/rustanddust/game | |
parent | bc6ada37ab01906406f28efb2a28007d9c345666 (diff) | |
download | RustAndDust-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.java | 2 |
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)); } } |