diff options
author | Carsten Weisse <[email protected]> | 2004-11-07 19:38:40 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2004-11-07 19:38:40 +0000 |
commit | dbb8df07b0263b857ce4013ac0f44ac90072e0bd (patch) | |
tree | 3ebc41b75c12c53d1a21f77d4c33484d296000b0 /src/jake2/client/CL.java | |
parent | 381500add86590eeaf629d9b933aa87815be43f1 (diff) |
bugfix: models download (C-string to Java-string)
Diffstat (limited to 'src/jake2/client/CL.java')
-rw-r--r-- | src/jake2/client/CL.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/client/CL.java b/src/jake2/client/CL.java index d6f5e2a..eeb1a48 100644 --- a/src/jake2/client/CL.java +++ b/src/jake2/client/CL.java @@ -2,7 +2,7 @@ * CL.java * Copyright (C) 2004 * - * $Id: CL.java,v 1.15 2004-10-24 21:02:04 salomo Exp $ + * $Id: CL.java,v 1.16 2004-11-07 19:38:40 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -1048,7 +1048,7 @@ public final class CL { //Com.Printf("critical code section because of endian // mess!\n"); - String name = new String(CL.precache_model, + String name = Lib.CtoJava(CL.precache_model, pheader.ofs_skins + (CL.precache_model_skin - 1) * Defines.MAX_SKINNAME, |