changeset 70 | 82d93eeecebe |
parent 53 | 0e27949850e3 |
child 97 | e7c1df9cce2c |
--- a/hedgewars/uSound.pas Tue Jun 20 21:22:15 2006 +0000 +++ b/hedgewars/uSound.pas Fri Jun 23 20:02:41 2006 +0000 @@ -77,7 +77,7 @@ if not isSoundEnabled then exit; for i:= Low(TSound) to High(TSound) do begin - s:= Pathz[ptSounds] + '/' + Soundz[i].FileName; + s:= Pathz[Soundz[i].Path] + '/' + Soundz[i].FileName; WriteToConsole(msgLoading + s + ' '); Soundz[i].id:= Mix_LoadWAV_RW(SDL_RWFromFile(PChar(s), 'rb'), 1); TryDo(Soundz[i].id <> nil, msgFailed, true);