hedgewars/hwengine.pas
changeset 10619 ee460883729e
parent 10581 f0b4c14a3c62
child 10621 b50e094d8b00
--- a/hedgewars/hwengine.pas	Wed Dec 03 17:59:31 2014 +0100
+++ b/hedgewars/hwengine.pas	Wed Dec 03 18:18:37 2014 +0100
@@ -587,6 +587,18 @@
         halt(HaltUsageError);
         {$ENDIF}
 
+    if cTestLua then
+        {$IFDEF PAS2C}
+        exit(HaltTestUnexpected);
+        {$ELSE}
+        halt(HaltTestUnexpected);
+        {$ENDIF}
+
+    {$IFDEF PAS2C}
+    exit(HaltNoError);
+    {$ELSE}
+    halt(HaltNoError);
+    {$ENDIF}
 {$IFDEF HWLIBRARY}
 end;
 {$ENDIF}