hedgewars/hwengine.pas
changeset 10306 4fca8bcfaff0
parent 10304 7e40820b7ed6
child 10414 50bcefec5bf6
child 10445 dac3bfb3a2b1
equal deleted inserted replaced
10305:17f3ca06e39a 10306:4fca8bcfaff0
   573         Game();
   573         Game();
   574 
   574 
   575     // return 1 when engine is not called correctly
   575     // return 1 when engine is not called correctly
   576     if GameType = gmtSyntax then
   576     if GameType = gmtSyntax then
   577         {$IFDEF PAS2C}
   577         {$IFDEF PAS2C}
   578         exit(1);
   578         exit(HaltUsageError);
   579         {$ELSE}
   579         {$ELSE}
   580         halt(1);
   580         halt(HaltUsageError);
   581         {$ENDIF}
   581         {$ENDIF}
   582 
   582 
   583 {$IFDEF HWLIBRARY}
   583 {$IFDEF HWLIBRARY}
   584 end;
   584 end;
   585 {$ENDIF}
   585 {$ENDIF}