summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NavLight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NavLight.cpp')
-rw-r--r--Stars45/NavLight.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/NavLight.cpp b/Stars45/NavLight.cpp
index dc19e37..1be4fd5 100644
--- a/Stars45/NavLight.cpp
+++ b/Stars45/NavLight.cpp
@@ -11,7 +11,6 @@
Navigation Light System class
*/
-#include "MemDebug.h"
#include "NavLight.h"
#include "Clock.h"
@@ -55,7 +54,7 @@ nlights(0), enable(true)
pattern[i] = c.pattern[i];
beacon_type[i] = c.beacon_type[i];
- DriveSprite* rep = new(__FILE__,__LINE__) DriveSprite(images[beacon_type[i]]);
+ DriveSprite* rep = new DriveSprite(images[beacon_type[i]]);
rep->Scale(c.scale);
beacon[i] = rep;
@@ -142,7 +141,7 @@ NavLight::AddBeacon(Point l, DWORD ptn, int t)
pattern[nlights] = ptn;
beacon_type[nlights] = t;
- DriveSprite* rep = new(__FILE__,__LINE__) DriveSprite(images[t]);
+ DriveSprite* rep = new DriveSprite(images[t]);
rep->Scale(scale);
beacon[nlights] = rep;