hedgewars/hwengine.pas
changeset 8310 a98c349bc06b
parent 8308 cdf83bdf7b27
child 8325 ecd51650d5d8
--- a/hedgewars/hwengine.pas	Mon Dec 17 00:43:52 2012 +0100
+++ b/hedgewars/hwengine.pas	Tue Dec 18 03:07:45 2012 +0100
@@ -338,11 +338,12 @@
     SetMusic(gameArgs[7] = '1');
     cAltDamage:= gameArgs[8] = '1';
     PathPrefix:= gameArgs[9];
+{$IFDEF IPHONEOS}
     UserPathPrefix:= '../Documents';
+{$ENDIF}
     recordFileName:= gameArgs[10];
 {$ENDIF}
     initEverything(true);
-
     WriteLnToConsole('Hedgewars ' + cVersionString + ' engine (network protocol: ' + inttostr(cNetProtoVersion) + ')');
     AddFileLog('Prefix: "' + PathPrefix +'"');
     AddFileLog('UserPrefix: "' + UserPathPrefix +'"');