diff options
Diffstat (limited to 'Stars45/System.cpp')
-rw-r--r-- | Stars45/System.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/System.cpp b/Stars45/System.cpp index 51af575..111addc 100644 --- a/Stars45/System.cpp +++ b/Stars45/System.cpp @@ -11,7 +11,6 @@ Generic Ship Subsystem class */ -#include "MemDebug.h" #include "System.h" #include "SystemDesign.h" #include "Component.h" @@ -57,7 +56,7 @@ emcon(s.emcon) // cast-away const ListIter<Component> c = (List<Component>&) s.components; while (++c) { - Component* comp = new(__FILE__,__LINE__) Component(*(c.value())); + Component* comp = new Component(*(c.value())); comp->SetSystem(this); components.append(comp); } @@ -90,7 +89,7 @@ System::SetDesign(SystemDesign* d) ListIter<ComponentDesign> cd = design->components; while (++cd) { - Component* comp = new(__FILE__,__LINE__) Component(cd.value(), this); + Component* comp = new Component(cd.value(), this); components.append(comp); } } |