From c45ce5cc4e54bdae2fd45a130d8957ec55b51b1b Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 14:12:12 +0000 Subject: A few fixes recommended by PVS Studio --- Stars45/Sim.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Stars45/Sim.cpp') diff --git a/Stars45/Sim.cpp b/Stars45/Sim.cpp index b054b72..978ad6a 100644 --- a/Stars45/Sim.cpp +++ b/Stars45/Sim.cpp @@ -103,16 +103,16 @@ public: class SimSplash { public: - SimSplash(SimRegion* r, const Point& l, double d, double n) - : rgn(r), loc(l), damage(d), range(n), - owner_name("Collateral Damage"), missile(false) { } - - SimRegion* rgn; - Point loc; - double damage; - double range; - Text owner_name; - bool missile; + SimSplash(SimRegion* r, const Point& l, double d, double n) + : rgn(r), loc(l), damage(d), range(n), + owner_name("Collateral Damage"), missile(false) { } + + Text owner_name; + Point loc; + double damage; + double range; + SimRegion* rgn; + bool missile; }; // +--------------------------------------------------------------------+ -- cgit v1.1