diff options
author | Holger Zickner <[email protected]> | 2004-07-09 08:38:30 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-09 08:38:30 +0000 |
commit | 76230d5ab9be20bfc25de6f3e50504a4287575d0 (patch) | |
tree | 8ec5a6485478c7fde8944e6477e466e3adceab36 /src/jake2/client/CL_ents.java | |
parent | 1e132c95409d6a7f3baf499b50f0bc7d22969b07 (diff) |
import of Jake2 version v_0_9_2v_0_9_2
Diffstat (limited to 'src/jake2/client/CL_ents.java')
-rw-r--r-- | src/jake2/client/CL_ents.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jake2/client/CL_ents.java b/src/jake2/client/CL_ents.java index d406ff2..228aec6 100644 --- a/src/jake2/client/CL_ents.java +++ b/src/jake2/client/CL_ents.java @@ -2,7 +2,7 @@ * CL_ents.java * Copyright (C) 2004 * - * $Id: CL_ents.java,v 1.3 2004-07-08 20:56:50 hzi Exp $ + * $Id: CL_ents.java,v 1.3.2.1 2004-07-09 08:38:24 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -53,7 +53,7 @@ public class CL_ents extends CL_inv { ================= */ static int bitcounts[] = new int[32]; /// just for protocol profiling - public static int ParseEntityBits(CM.intwrap bits) { + public static int ParseEntityBits(int bits[]) { int b, total; int i; int number; @@ -82,7 +82,7 @@ public class CL_ents extends CL_inv { else number = MSG.ReadByte(net_message); - bits.i = total; + bits[0] = total; return number; } @@ -253,9 +253,9 @@ public class CL_ents extends CL_inv { } while (true) { - CM.intwrap iw = new CM.intwrap(bits); + int iw[] = {bits}; newnum = ParseEntityBits(iw); - bits = iw.i; + bits = iw[0]; if (newnum >= MAX_EDICTS) Com.Error(ERR_DROP, "CL_ParsePacketEntities: bad number:" + newnum); |