hedgewars/uSound.pas
changeset 12612 2ffdee246adc
parent 12194 ac9cf0cf40ee
child 12618 2d68c113fc8d
--- a/hedgewars/uSound.pas	Sat Sep 30 04:31:50 2017 +0200
+++ b/hedgewars/uSound.pas	Sat Sep 30 14:00:02 2017 +0200
@@ -324,10 +324,14 @@
     if not (isSoundEnabled or isMusicEnabled) then
         exit;
     WriteToConsole('Init sound...');
-    success:= SDL_InitSubSystem(SDL_INIT_AUDIO) >= 0;
+    success:= SDL_InitSubSystem(SDL_INIT_AUDIO) = 0;
 
     if success then
+        begin
+        WriteLnToConsole(msgOK);
+        WriteToConsole('Open audio...');
         success:= Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, channels, 1024) = 0;
+        end;
 
     if success then
         WriteLnToConsole(msgOK)