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/Asteroid.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Stars45/Asteroid.cpp') diff --git a/Stars45/Asteroid.cpp b/Stars45/Asteroid.cpp index 745f1ad..fa0f175 100644 --- a/Stars45/Asteroid.cpp +++ b/Stars45/Asteroid.cpp @@ -11,7 +11,6 @@ Asteroid Sprite animation class */ -#include "MemDebug.h" #include "Asteroid.h" #include "Shot.h" #include "Explosion.h" @@ -48,37 +47,37 @@ Asteroid::Initialize() int n = 0; - Model* a = new(__FILE__,__LINE__) Model; + Model* a = new Model; if (a) { a->Load("a1.mag", 100); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a2.mag", 50); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a1.mag", 8); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a2.mag", 10); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a3.mag", 30); asteroid_model[n++] = a; } - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load("a4.mag", 20); asteroid_model[n++] = a; @@ -90,7 +89,7 @@ Asteroid::Initialize() ListIter iter = mod_asteroids; while (++iter && n < 32) { - a = new(__FILE__,__LINE__) Model; + a = new Model; if (a) { a->Load(*iter.value(), 50); asteroid_model[n++] = a; -- cgit v1.1