From 62ea80654b0728a72a1f234b14eecb24a5b1d536 Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Mon, 17 Jan 2005 21:43:13 +0000 Subject: garbage optimized --- src/jake2/client/CL_ents.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/jake2/client/CL_ents.java') 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]; -- cgit v1.2.3