diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java b/core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java index e2e3cb7..ba2a803 100644 --- a/core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java +++ b/core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java @@ -167,6 +167,7 @@ public class InfantryFireAnimation implements Disposable, Animation, Pool.Poolab float x = (float) (x0 - (Math.cos(a) * w)); float y = (float) (y0 - (Math.sin(a) * w)); + shot.fireRegion.setRegion(FireAnimation.infantryFire.frames[0]); shot.set(delay, x0, y0, x, y, w, (float) Math.toDegrees(a)); delay += SHOT_DELAY; |