equal
deleted
inserted
replaced
457 WriteToConsole(msgLoading + s + ' '); |
457 WriteToConsole(msgLoading + s + ' '); |
458 rwops := rwopsOpenRead(s); |
458 rwops := rwopsOpenRead(s); |
459 |
459 |
460 if rwops = nil then |
460 if rwops = nil then |
461 begin |
461 begin |
462 s:= cPathz[Soundz[snd].AltPath] + '/' + voicepack^.name + '/' + Soundz[snd].FileName; |
462 s:= cPathz[Soundz[snd].AltPath] + '/' + Soundz[snd].FileName; |
463 WriteToConsole(msgLoading + s + ' ... '); |
463 WriteToConsole(msgLoading + s + ' ... '); |
464 rwops := rwopsOpenRead(s); |
464 rwops := rwopsOpenRead(s); |
465 end; |
465 end; |
466 |
466 |
467 defVoicepack^.chunks[snd]:= Mix_LoadWAV_RW(rwops, 1); |
467 defVoicepack^.chunks[snd]:= Mix_LoadWAV_RW(rwops, 1); |