hedgewars/uSound.pas
changeset 11663 0427a9b6457b
parent 11532 bf86c6cb9341
child 11766 abcdb7bc2620
--- a/hedgewars/uSound.pas	Thu Apr 21 16:03:57 2016 -0400
+++ b/hedgewars/uSound.pas	Sat Apr 23 09:54:05 2016 +0200
@@ -425,7 +425,7 @@
             s:= cPathz[Soundz[snd].Path] + '/' + Soundz[snd].FileName;
             WriteToConsole(msgLoading + s + ' ');
             defVoicepack^.chunks[snd]:= Mix_LoadWAV_RW(rwopsOpenRead(s), 1);
-            if not SDLCheck(defVoicepack^.chunks[snd] <> nil, 'Mix_LoadWAV_RW', true) then exit;
+            if SDLCheck(defVoicepack^.chunks[snd] <> nil, 'Mix_LoadWAV_RW', true) then exit;
             WriteLnToConsole(msgOK);
             end;
         lastChan[snd]:= Mix_PlayChannelTimed(-1, defVoicepack^.chunks[snd], 0, -1)