# HG changeset patch # User nemo # Date 1308084291 14400 # Node ID e4f6aa3250eb34478a0a95182db24e549b832f61 # Parent e1fb0fc971c654a4cdb433b25f2b31eed6724ff5 corrected user ptData path diff -r e1fb0fc971c6 -r e4f6aa3250eb hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Tue Jun 14 14:00:29 2011 -0400 +++ b/hedgewars/hwengine.pas Tue Jun 14 16:44:51 2011 -0400 @@ -240,7 +240,9 @@ AddFileLog(inttostr(i) + ': ' + ParamStr(i)); for p:= Succ(Low(TPathType)) to High(TPathType) do - if p <> ptMapCurrent then UserPathz[p]:= UserPathPrefix + '/Data/' + Pathz[p]; + if (p <> ptMapCurrent) and (p <> ptData) then UserPathz[p]:= UserPathPrefix + '/Data/' + Pathz[p]; + + UserPathz[ptData]:= UserPathPrefix + '/Data'; for p:= Succ(Low(TPathType)) to High(TPathType) do if p <> ptMapCurrent then Pathz[p]:= PathPrefix + '/' + Pathz[p];