From b76459fa7321d18fedeab7cd891ce4e060b984d8 Mon Sep 17 00:00:00 2001 From: Holger Zickner Date: Sun, 22 Aug 2004 18:30:15 +0000 Subject: fix comment handling in Parse() remove obsolete ServerState() --- src/jake2/qcommon/Com.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/jake2') diff --git a/src/jake2/qcommon/Com.java b/src/jake2/qcommon/Com.java index 3eb56d3..b7ae3b4 100644 --- a/src/jake2/qcommon/Com.java +++ b/src/jake2/qcommon/Com.java @@ -2,7 +2,7 @@ * Com.java * Copyright (C) 2003 * - * $Id: Com.java,v 1.5 2004-07-28 11:54:43 hzi Exp $ + * $Id: Com.java,v 1.6 2004-08-22 18:30:15 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -205,7 +205,7 @@ public final class Com // skip // comments if (hlp.getchar() == '/') { if (hlp.nextchar() == '/') { - hlp.skipwhitestoeol(); + hlp.skiptoeol(); return ""; } else { hlp.prevchar(); @@ -431,11 +431,6 @@ public final class Com return msg; } - public static int ServerState() - { - return Globals.server_state; - } - public static int Argc() { return Com.com_argc; -- cgit v1.2.3