summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Sim.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 14:12:12 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 14:12:12 +0000
commitc45ce5cc4e54bdae2fd45a130d8957ec55b51b1b (patch)
treee7ac533ff4006d455246d4e6d85a87f1966b9dd4 /Stars45/Sim.cpp
parentef83cdced6bc0fd4ee94f03237ad0201ef012a6b (diff)
downloadstarshatter-c45ce5cc4e54bdae2fd45a130d8957ec55b51b1b.zip
starshatter-c45ce5cc4e54bdae2fd45a130d8957ec55b51b1b.tar.gz
starshatter-c45ce5cc4e54bdae2fd45a130d8957ec55b51b1b.tar.bz2
A few fixes recommended by PVS Studio
Diffstat (limited to 'Stars45/Sim.cpp')
-rw-r--r--Stars45/Sim.cpp20
1 files changed, 10 insertions, 10 deletions
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;
};
// +--------------------------------------------------------------------+