changeset 2674 | 2fce032f2f95 |
parent 2672 | 0f1403bf267a |
child 2716 | b9ca1bfca24f |
--- a/hedgewars/uSound.pas Sun Jan 03 17:27:25 2010 +0000 +++ b/hedgewars/uSound.pas Sun Jan 03 22:58:19 2010 +0000 @@ -72,7 +72,7 @@ begin if not isSoundEnabled then exit; WriteToConsole('Init sound...'); - isSoundEnabled:= SDL_Init(SDL_INIT_AUDIO) >= 0; + isSoundEnabled:= SDL_InitSubSystem(SDL_INIT_AUDIO) >= 0; if isSoundEnabled then isSoundEnabled:= Mix_OpenAudio(44100, $8010, 2, 1024) = 0;