aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-10-21 01:50:49 +0000
committerCarsten Weisse <[email protected]>2004-10-21 01:50:49 +0000
commit1a101824a2f9134ca16f715a5100a6c4478e8e65 (patch)
tree630835ce7db8882558f70db9cce93d50e77a7d01 /src/jake2
parente5e57a0bf11ecfd2be7f28cd6cc2b04f853a40c9 (diff)
string bugs fixed
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/client/CL_parse.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/client/CL_parse.java b/src/jake2/client/CL_parse.java
index ecc1abe..9e8001d 100644
--- a/src/jake2/client/CL_parse.java
+++ b/src/jake2/client/CL_parse.java
@@ -2,7 +2,7 @@
* CL_parse.java
* Copyright (C) 2004
*
- * $Id: CL_parse.java,v 1.9 2004-09-22 19:22:07 salomo Exp $
+ * $Id: CL_parse.java,v 1.10 2004-10-21 01:50:49 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -395,7 +395,7 @@ public class CL_parse {
//s = t + 1;
}
- if (Globals.cl_noskins.value != 0 || s.length() != 0) {
+ if (Globals.cl_noskins.value != 0 || s.length() == 0) {
model_filename = ("players/male/tris.md2");
weapon_filename = ("players/male/weapon.md2");
@@ -507,7 +507,7 @@ public class CL_parse {
ci = Globals.cl.clientinfo[player];
- LoadClientinfo(ci, s);
+ LoadClientinfo(ci, new String(s));
}
/*
@@ -526,7 +526,7 @@ public class CL_parse {
s = MSG.ReadString(Globals.net_message);
olds = Globals.cl.configstrings[i];
- Globals.cl.configstrings[i] = s;
+ Globals.cl.configstrings[i] = new String(s);
// do something apropriate