diff options
author | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 17:42:26 +0200 |
commit | a12e588079700d55a0b788fea2df7727c2e41f52 (patch) | |
tree | 690072569624c73af5043b3619acaab4d298b1fa /Stars45/Trail.cpp | |
parent | 72bb517271dad40a440533ad0796a88247011199 (diff) | |
download | starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2 |
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/Trail.cpp')
-rw-r--r-- | Stars45/Trail.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Stars45/Trail.cpp b/Stars45/Trail.cpp index 80735d2..a29deca 100644 --- a/Stars45/Trail.cpp +++ b/Stars45/Trail.cpp @@ -11,7 +11,6 @@ Missile Trail representation class */ -#include "MemDebug.h" #include "Trail.h" #include "Weapon.h" #include "Sim.h" @@ -38,8 +37,8 @@ Trail::Trail(Bitmap* tex, int n) mtl.luminous = true; if (maxtrail < 4) maxtrail = 512; - trail = new(__FILE__,__LINE__) Point[maxtrail]; - verts = new(__FILE__,__LINE__) VertexSet(maxtrail*2); + trail = new Point[maxtrail]; + verts = new VertexSet(maxtrail*2); verts->Clear(); verts->nverts = 0; @@ -50,7 +49,7 @@ Trail::Trail(Bitmap* tex, int n) verts->tv[i] = (i & 1) ? 1.0f : 0.0f; } - polys = new(__FILE__,__LINE__) Poly[maxtrail]; + polys = new Poly[maxtrail]; for (int i = 0; i < maxtrail; i++) { polys[i].vertex_set = verts; |