aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UMusic.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UMusic.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/Game/Code/Classes/UMusic.pas b/Game/Code/Classes/UMusic.pas
index 93dd15de..4e0291cf 100644
--- a/Game/Code/Classes/UMusic.pas
+++ b/Game/Code/Classes/UMusic.pas
@@ -319,6 +319,7 @@ var
constructor TAudioFormatInfo.Create(Channels: byte; SampleRate: double; Format: TAudioSampleFormat);
begin
+ inherited Create();
Self.Channels := Channels;
Self.SampleRate := SampleRate;
Self.Format := Format;
@@ -484,12 +485,14 @@ end;
constructor TSoundLibrary.Create();
begin
+ inherited;
LoadSounds();
end;
destructor TSoundLibrary.Destroy();
begin
UnloadSounds();
+ inherited;
end;
procedure TSoundLibrary.LoadSounds();