diff options
author | Carsten Weisse <[email protected]> | 2005-01-17 21:43:13 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-01-17 21:43:13 +0000 |
commit | 62ea80654b0728a72a1f234b14eecb24a5b1d536 (patch) | |
tree | 7fec22e0b27733e27a5e3a381c45d2bfb5e3f505 | |
parent | 8c7a815119230871c1a0447a3dc1c86285759136 (diff) |
garbage optimized
-rw-r--r-- | src/jake2/client/CL_ents.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/jake2/client/CL_ents.java b/src/jake2/client/CL_ents.java index 4e23e74..4bf1807 100644 --- a/src/jake2/client/CL_ents.java +++ b/src/jake2/client/CL_ents.java @@ -2,7 +2,7 @@ * java * Copyright (C) 2004 * - * $Id: CL_ents.java,v 1.7 2004-10-11 14:04:16 hzi Exp $ + * $Id: CL_ents.java,v 1.8 2005-01-17 21:43:13 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -220,6 +220,8 @@ public class CL_ents { ent.current.set(state); } + // call by reference + private static final int[] iw = {0}; /* * ================== CL_ParsePacketEntities * @@ -251,7 +253,8 @@ public class CL_ents { } while (true) { - int iw[] = { bits }; + //int iw[] = { bits }; + iw[0] = bits; newnum = ParseEntityBits(iw); bits = iw[0]; |