hedgewars/hwengine.pas
branchios-revival
changeset 11149 c150602921ef
parent 11133 fa3d227fb308
child 11150 877de65e0e13
--- a/hedgewars/hwengine.pas	Thu Sep 10 01:49:15 2015 +0200
+++ b/hedgewars/hwengine.pas	Thu Sep 10 17:47:01 2015 +0200
@@ -610,9 +610,13 @@
         end;
 
     {$IFDEF PAS2C}
-    exit(HaltNoError);
+        exit(HaltNoError);
     {$ELSE}
-    exit;
+        {$IFDEF IPHONEOS}
+            exit;
+        {$ELSE}
+            halt(HaltNoError);
+        {$ENDIF}
     {$ENDIF}
 {$IFDEF HWLIBRARY}
 end;