diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-14 13:53:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-14 13:53:31 +0100 |
commit | 718e67d15ca1d3f45121a4eae279f2ecf076629b (patch) | |
tree | 5c18b35f7ae497b282924af8e3c3aafb888b0c13 /core/src | |
parent | 0764aa010e9a48f774afb7dc9917e9d33e9a3cc9 (diff) | |
download | RustAndDust-718e67d15ca1d3f45121a4eae279f2ecf076629b.zip RustAndDust-718e67d15ca1d3f45121a4eae279f2ecf076629b.tar.gz |
InfantryFireAnimation: add missing var init in Shot.set(...)
Diffstat (limited to 'core/src')
-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); |