diff -r 17d102f9515d -r cfc3971de8ac hedgewars/uLocale.pas --- a/hedgewars/uLocale.pas Sat Apr 23 16:57:20 2016 -0400 +++ b/hedgewars/uLocale.pas Sat Apr 23 16:57:27 2016 -0400 @@ -140,7 +140,12 @@ uUtils.initModule(false); uVariables.initModule; - uPhysFSLayer.initModule; + + PathPrefix:= PathPrefix + #0; + UserPathPrefix:= UserPathPrefix + #0; + uPhysFSLayer.initModule(@PathPrefix[1], @UserPathPrefix[1]); + PathPrefix:= copy(PathPrefix, 1, length(PathPrefix) - 1); + UserPathPrefix:= copy(UserPathPrefix, 1, length(UserPathPrefix) - 1); LoadLocale(Strpas(filename));