From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/Thruster.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Stars45/Thruster.cpp') 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); -- cgit v1.1