aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/qcommon')
-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;