hedgewars/uSound.pas
changeset 14068 859a41b137d4
parent 14053 38eb5937169e
child 14075 df0e86b2630f
equal deleted inserted replaced
14067:3f21f27c6564 14068:859a41b137d4
   573             // Fallback taunts
   573             // Fallback taunts
   574             if (not pfsExists(s)) then
   574             if (not pfsExists(s)) then
   575                 begin
   575                 begin
   576                 tempSnd := GetFallbackV(snd);
   576                 tempSnd := GetFallbackV(snd);
   577                 if tempSnd <> sndNone then
   577                 if tempSnd <> sndNone then
       
   578                     begin
   578                     snd := tempSnd;
   579                     snd := tempSnd;
       
   580                     LastVoice.snd := tempSnd;
       
   581                     end;
   579                 s:= cPathz[Soundz[snd].Path] + '/' + voicepack^.name + '/' + Soundz[snd].FileName;
   582                 s:= cPathz[Soundz[snd].Path] + '/' + voicepack^.name + '/' + Soundz[snd].FileName;
   580                 end;
   583                 end;
   581             WriteToConsole(msgLoading + s + ' ');
   584             WriteToConsole(msgLoading + s + ' ');
   582             rwops := rwopsOpenRead(s);
   585             rwops := rwopsOpenRead(s);
   583 
   586