Fix some stupid errors I caused
authorJoe Doyle (Ginto8) <ginto8@gmail.com>
Sat, 01 Dec 2012 15:14:03 -0500
changeset 8170 b0abfa1a4d4a
parent 8167 96635d815141
child 8172 aaa64f03ac62
Fix some stupid errors I caused
hedgewars/hwengine.pas
--- 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