aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-08-22 18:30:15 +0000
committerHolger Zickner <[email protected]>2004-08-22 18:30:15 +0000
commitb76459fa7321d18fedeab7cd891ce4e060b984d8 (patch)
tree1893275a7570a7793271dabbda4d23490c700b56 /src
parente6917ba149aaa857c8dca342543050e22ec877f7 (diff)
fix comment handling in Parse()
remove obsolete ServerState()
Diffstat (limited to 'src')
-rw-r--r--src/jake2/qcommon/Com.java9
1 files changed, 2 insertions, 7 deletions
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;