hedgewars/ArgParsers.inc
changeset 7848 775a72905708
parent 7376 48b79b3ca592
child 8150 6b30a4cd7c7c
--- a/hedgewars/ArgParsers.inc	Sun Oct 28 03:12:49 2012 +0100
+++ b/hedgewars/ArgParsers.inc	Sun Oct 28 03:48:37 2012 +0100
@@ -16,20 +16,6 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  *)
 
-procedure playReplayFileWithParameters(); forward;
-
-procedure internalSetGameTypeLandPreviewFromParameters();
-begin
-    if ParamStr(3) = '--stats-only' then
-        playReplayFileWithParameters()
-    else
-        begin
-        ipcPort:= StrToInt(ParamStr(2));
-        GameType:= gmtLandPreview;
-        if ParamStr(3) <> 'landpreview' then
-            GameType:= gmtSyntax
-        end
-end;
 
 procedure internalStartGameWithParameters();
 var tmp: LongInt;