# HG changeset patch # User sheepluva # Date 1506793882 -7200 # Node ID 2d68c113fc8d5e0c0493cabb4f0e4d7d3237989f # Parent bcd679240cd2ab1aa231ddb2d58335cdb1dd22ec fix copypasta fail that caused segfaults (esp. in pas2c) diff -r bcd679240cd2 -r 2d68c113fc8d 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;