summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MusicDirector.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/MusicDirector.cpp
parent72bb517271dad40a440533ad0796a88247011199 (diff)
downloadstarshatter-a12e588079700d55a0b788fea2df7727c2e41f52.zip
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.gz
starshatter-a12e588079700d55a0b788fea2df7727c2e41f52.tar.bz2
Removed MemDebug from FoundationEx
Diffstat (limited to 'Stars45/MusicDirector.cpp')
-rw-r--r--Stars45/MusicDirector.cpp7
1 files changed, 3 insertions, 4 deletions
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<Text> 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();
}