--- a/hedgewars/uPhysFSLayer.pas Fri Oct 11 17:43:13 2013 +0200
+++ b/hedgewars/uPhysFSLayer.pas Sat Jan 04 23:55:54 2014 +0400
@@ -149,10 +149,14 @@
i:= PHYSFS_mount(Str2PChar(PathPrefix), nil, false);
AddFileLog('[PhysFS] mount ' + PathPrefix + ': ' + inttostr(i));
- i:= PHYSFS_mount(Str2PChar(UserPathPrefix + '/'), '/', false);
- AddFileLog('[PhysFS] mount ' + UserPathPrefix + '/: ' + inttostr(i));
+ i:= PHYSFS_mount(Str2PChar(UserPathPrefix + '/Data'), nil, false);
+ AddFileLog('[PhysFS] mount ' + UserPathPrefix + '/Data: ' + inttostr(i));
hedgewarsMountPackages;
+
+ i:= PHYSFS_mount(Str2PChar(UserPathPrefix), nil, false);
+ // need access to teams and frontend configs (for bindings)
+ AddFileLog('[PhysFS] mount ' + UserPathPrefix + ': ' + inttostr(i));
end;
procedure freeModule;