Remove pointless string assignment in PlaySoundV
authorWuzzy <Wuzzy2@mail.ru>
Fri, 02 Nov 2018 14:08:45 +0100
changeset 14096 df0e86b2630f
parent 14095 a3506c6a4cbe
child 14097 e5904ead4864
Remove pointless string assignment in PlaySoundV
hedgewars/uSound.pas
--- a/hedgewars/uSound.pas	Fri Nov 02 14:05:08 2018 +0100
+++ b/hedgewars/uSound.pas	Fri Nov 02 14:08:45 2018 +0100
@@ -554,7 +554,6 @@
 tempSnd: TSound;
 rwops: PSDL_RWops;
 begin
-    s:= cPathz[Soundz[snd].Path] + '/' + voicepack^.name + '/' + Soundz[snd].FileName;
     PlaySoundV:= false;
     if ((not isSoundEnabled) and (not (soundAsMusic and isMusicEnabled))) or fastUntilLag then
         exit;