# HG changeset patch
# User sheepluva
# Date 1441949941 -7200
# Node ID a10143c3d87d6d9c324b6e7ef1d8bb59056e4b00
# Parent  1d08386a7c0fc69b75e4f1f3defe2be53fd8a1ed
pas2c doesn't like {$ENDIF} with argument

diff -r 1d08386a7c0f -r a10143c3d87d hedgewars/hwengine.pas
--- a/hedgewars/hwengine.pas	Fri Sep 11 05:54:17 2015 +0200
+++ b/hedgewars/hwengine.pas	Fri Sep 11 07:39:01 2015 +0200
@@ -545,7 +545,7 @@
 var Preview: TPreview;
 {$ELSE}
 var Preview: TPreviewAlpha;
-{$ENDIF MOBILE}
+{$ENDIF}
 begin
     initEverything(false);
 
@@ -558,7 +558,7 @@
     GenPreview(Preview);
 {$ELSE}
     GenPreviewAlpha(Preview);
-{$ENDIF MOBILE}
+{$ENDIF}
     WriteLnToConsole('Sending preview...');
     SendIPCRaw(@Preview, sizeof(Preview));
     SendIPCRaw(@MaxHedgehogs, sizeof(byte));
diff -r 1d08386a7c0f -r a10143c3d87d hedgewars/uPhysFSLayer.pas
--- a/hedgewars/uPhysFSLayer.pas	Fri Sep 11 05:54:17 2015 +0200
+++ b/hedgewars/uPhysFSLayer.pas	Fri Sep 11 07:39:01 2015 +0200
@@ -153,7 +153,7 @@
     cPhysfsId: shortstring;
 {$IFNDEF MOBILE}
     fp: PChar;
-{$ENDIF MOBILE}
+{$ENDIF}
 begin
 {$IFDEF HWLIBRARY}
     //TODO: http://icculus.org/pipermail/physfs/2011-August/001006.html
@@ -173,7 +173,7 @@
             if fp <> nil then
                 pfsMount(ansistring(fp), PChar('/Fonts'));
         end;
-{$ENDIF MOBILE}
+{$ENDIF}
 
     pfsMountAtRoot(PathPrefix);
     pfsMountAtRoot(UserPathPrefix + ansistring('/Data'));