diff options
-rw-r--r-- | Game/Code/Classes/UMusic.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMusic.pas b/Game/Code/Classes/UMusic.pas index 9399adb1..735210c1 100644 --- a/Game/Code/Classes/UMusic.pas +++ b/Game/Code/Classes/UMusic.pas @@ -219,7 +219,8 @@ begin Loop := false;
fHWND := AllocateHWND( nil);
- if not BASS_Init(1, 44100, 0, fHWND, nil) then begin
+ if BASS_Init(1, 44100, 0, fHWND, nil) = false then + begin
Application.MessageBox ('Could not initialize BASS', 'Error');
Exit;
end;
|