diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java | 3 |
1 files changed, 3 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 dcf5bd7..f595f50 100644 --- a/core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java +++ b/core/src/ch/asynk/rustanddust/engine/gfx/animations/InfantryFireAnimation.java @@ -47,6 +47,9 @@ public class InfantryFireAnimation implements Disposable, Animation, Pool.Poolab float hit_duration = (FireAnimation.infantryFire.rows * HIT_FRAME_DURATION); this.fired = false; + this.hit = false; + this.completed = false; + this.fire_time = delay; this.hit_time = (this.fire_time + fire_duration); this.end_time = (this.hit_time + hit_duration); |