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/MusicDirector.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Stars45/MusicDirector.cpp') diff --git a/Stars45/MusicDirector.cpp b/Stars45/MusicDirector.cpp index b349f4c..fdcfafc 100644 --- a/Stars45/MusicDirector.cpp +++ b/Stars45/MusicDirector.cpp @@ -13,7 +13,6 @@ */ -#include "MemDebug.h" #include "MusicDirector.h" #include "MusicTrack.h" @@ -68,7 +67,7 @@ void MusicDirector::Initialize() { if (music_director) delete music_director; - music_director = new(__FILE__,__LINE__) MusicDirector(); + music_director = new MusicDirector(); } void @@ -165,7 +164,7 @@ MusicDirector::ScanTracks() ListIter iter = files; while (++iter) { Text* name = iter.value(); - Text* file = new(__FILE__,__LINE__) Text("Music/"); + Text* file = new Text("Music/"); name->setSensitive(false); file->append(*name); @@ -411,7 +410,7 @@ MusicDirector::GetNextTrack(int index) } } - next_track = new(__FILE__,__LINE__) MusicTrack(*tracks->at(index), mode, index); + next_track = new MusicTrack(*tracks->at(index), mode, index); next_track->FadeIn(); } -- cgit v1.1