fix copypasta fail that caused segfaults (esp. in pas2c)
authorsheepluva
Sat, 30 Sep 2017 19:51:22 +0200
changeset 12618 2d68c113fc8d
parent 12617 bcd679240cd2
child 12619 2b529ddf1b01
fix copypasta fail that caused segfaults (esp. in pas2c)
hedgewars/uSound.pas
--- a/hedgewars/uSound.pas	Sat Sep 30 17:23:47 2017 +0200
+++ b/hedgewars/uSound.pas	Sat Sep 30 19:51:22 2017 +0200
@@ -459,7 +459,7 @@
 
             if rwops = nil then
                 begin
-                s:= cPathz[Soundz[snd].AltPath] + '/' + voicepack^.name + '/' + Soundz[snd].FileName;
+                s:= cPathz[Soundz[snd].AltPath] + '/' + Soundz[snd].FileName;
                 WriteToConsole(msgLoading + s + ' ... ');
                 rwops := rwopsOpenRead(s);
                 end;