changeset 10306 | 4fca8bcfaff0 |
parent 10304 | 7e40820b7ed6 |
child 10414 | 50bcefec5bf6 |
child 10445 | dac3bfb3a2b1 |
--- a/hedgewars/hwengine.pas Sat Jun 14 23:59:20 2014 +0200 +++ b/hedgewars/hwengine.pas Sun Jun 15 00:02:25 2014 +0200 @@ -575,9 +575,9 @@ // return 1 when engine is not called correctly if GameType = gmtSyntax then {$IFDEF PAS2C} - exit(1); + exit(HaltUsageError); {$ELSE} - halt(1); + halt(HaltUsageError); {$ENDIF} {$IFDEF HWLIBRARY}