hedgewars/hwengine.pas
changeset 8170 b0abfa1a4d4a
parent 8167 96635d815141
child 8174 df02c2ad4a2c
--- a/hedgewars/hwengine.pas	Fri Nov 30 23:04:10 2012 -0500
+++ b/hedgewars/hwengine.pas	Sat Dec 01 15:14:03 2012 -0500
@@ -541,9 +541,11 @@
 {$INCLUDE "ArgParsers.inc"}
 
 procedure GetParams;
-var tmpInt: LongInt;
+var startIndex: LongInt;
+    tmpInt: LongInt;
 begin
     if (ParamCount < 2) then
+        DisplayUsage();
         GameType:= gmtSyntax
     else
         if (ParamCount >= 2) then