summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Thruster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Thruster.cpp')
-rw-r--r--Stars45/Thruster.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Stars45/Thruster.cpp b/Stars45/Thruster.cpp
index dda7410..3852516 100644
--- a/Stars45/Thruster.cpp
+++ b/Stars45/Thruster.cpp
@@ -11,7 +11,6 @@
Weapon class
*/
-#include "MemDebug.h"
#include "Thruster.h"
#include "Component.h"
#include "Drive.h"
@@ -502,7 +501,7 @@ void
Thruster::AddPort(int type, const Point& loc, DWORD fire, float flare_scale)
{
if (flare_scale == 0) flare_scale = scale;
- ThrusterPort* port = new(__FILE__,__LINE__) ThrusterPort(type, loc, fire, flare_scale);
+ ThrusterPort* port = new ThrusterPort(type, loc, fire, flare_scale);
ports.append(port);
}
@@ -513,13 +512,13 @@ Thruster::CreatePort(int type, const Point& loc, DWORD fire, float flare_scale)
Bitmap* trail_bmp = drive_trail_bitmap[subtype];
if (subtype != Drive::STEALTH) {
- Sprite* flare_rep = new(__FILE__,__LINE__) Sprite(flare_bmp);
+ Sprite* flare_rep = new Sprite(flare_bmp);
flare_rep->Scale(flare_scale * 0.667f);
flare_rep->SetShade(0);
- Bolt* trail_rep = new(__FILE__,__LINE__) Bolt(flare_scale * 30, flare_scale * 8, trail_bmp, true);
+ Bolt* trail_rep = new Bolt(flare_scale * 30, flare_scale * 8, trail_bmp, true);
- ThrusterPort* port = new(__FILE__,__LINE__) ThrusterPort(type, loc, fire, flare_scale);
+ ThrusterPort* port = new ThrusterPort(type, loc, fire, flare_scale);
port->flare = flare_rep;
port->trail = trail_rep;
ports.append(port);