diff -r 17f3ca06e39a -r 4fca8bcfaff0 hedgewars/hwengine.pas --- 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}