diff options
Diffstat (limited to 'Stars45/Shot.cpp')
-rw-r--r-- | Stars45/Shot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/Shot.cpp b/Stars45/Shot.cpp index 09caf98..29d193b 100644 --- a/Stars45/Shot.cpp +++ b/Stars45/Shot.cpp @@ -98,7 +98,7 @@ charge(1.0f), design(dsn), offset(1.0e5f), altitude_agl(-1.0e6f), hit_target(fal case Graphic::SPRITE: { Sprite* s = 0; - + if (design->animation) s = new(__FILE__,__LINE__) DriveSprite(design->animation, design->anim_length); else @@ -415,7 +415,7 @@ Shot::ExecFrame(double seconds) thrust = design->thrust; } - first_frame = 0; + first_frame = 0; if (flare) flare->MoveTo(Location()); @@ -552,7 +552,7 @@ Shot::Length() const return design->length; return 500; -} +} // +--------------------------------------------------------------------+ |