summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Thruster.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 17:42:26 +0200
committerAki <please@ignore.pl>2022-03-27 17:42:26 +0200
commita12e588079700d55a0b788fea2df7727c2e41f52 (patch)
tree690072569624c73af5043b3619acaab4d298b1fa /Stars45/Thruster.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
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);