aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/Com.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-11-13 12:57:56 +0000
committerCarsten Weisse <[email protected]>2005-11-13 12:57:56 +0000
commite70bdaaa1d9175d9969772bca34e279a8bfa338f (patch)
treefb819da40ec00b4f5bc47efbe1d896364fb2c66f /src/jake2/qcommon/Com.java
parentd37ac889eb47648a747354e9d7302a663596be19 (diff)
code cleanup. use Defines instead of Globals
(Defines contains all constants)
Diffstat (limited to 'src/jake2/qcommon/Com.java')
-rw-r--r--src/jake2/qcommon/Com.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jake2/qcommon/Com.java b/src/jake2/qcommon/Com.java
index 9ff3a99..cffd15d 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.12 2005-06-11 17:21:21 hzi Exp $
+ * $Id: Com.java,v 1.12.4.1 2005-11-13 12:57:56 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -273,7 +273,7 @@ public final class Com
{
public void execute() throws longjmpException
{
- Error(Globals.ERR_FATAL, Cmd.Argv(1));
+ Error(Defines.ERR_FATAL, Cmd.Argv(1));
}
};
@@ -325,15 +325,15 @@ public final class Com
static void InitArgv(String[] args) throws longjmpException
{
- if (args.length > Globals.MAX_NUM_ARGVS)
+ if (args.length > Defines.MAX_NUM_ARGVS)
{
- Com.Error(Globals.ERR_FATAL, "argc > MAX_NUM_ARGVS");
+ Com.Error(Defines.ERR_FATAL, "argc > MAX_NUM_ARGVS");
}
Com.com_argc= args.length;
for (int i= 0; i < Com.com_argc; i++)
{
- if (args[i].length() >= Globals.MAX_TOKEN_CHARS)
+ if (args[i].length() >= Defines.MAX_TOKEN_CHARS)
Com.com_argv[i]= "";
else
Com.com_argv[i]= args[i];