diff options
author | Holger Zickner <[email protected]> | 2004-07-12 20:47:02 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-12 20:47:02 +0000 |
commit | 4dca2574fe978cb98a9320f6db8176ee77973e91 (patch) | |
tree | 6cd1d23b2136f4f3817de7a0ba71c6f0d9ff52d3 /src/jake2/server/SV_ENTS.java | |
parent | 25252922d19cd51c8bf7a3544d6b2a82c8a26fff (diff) |
cleanups
Diffstat (limited to 'src/jake2/server/SV_ENTS.java')
-rw-r--r-- | src/jake2/server/SV_ENTS.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/jake2/server/SV_ENTS.java b/src/jake2/server/SV_ENTS.java index 6437dff..e3a5a2c 100644 --- a/src/jake2/server/SV_ENTS.java +++ b/src/jake2/server/SV_ENTS.java @@ -19,18 +19,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 17.01.2004 by RST. -// $Id: SV_ENTS.java,v 1.2 2004-07-08 15:58:45 hzi Exp $ +// $Id: SV_ENTS.java,v 1.3 2004-07-12 20:47:02 hzi Exp $ package jake2.server; -import java.io.IOException; - -import jake2.*; -import jake2.client.*; import jake2.game.*; import jake2.qcommon.*; -import jake2.render.*; -import jake2.util.Vargs; + +import java.io.IOException; public class SV_ENTS extends SV_USER { @@ -383,7 +379,7 @@ public class SV_ENTS extends SV_USER { for (i = 0; i < count; i++) leafs[i] = CM.CM_LeafCluster(leafs[i]); - memcpy(fatpvs, CM.CM_ClusterPVS(leafs[0]), longs << 2); + System.arraycopy(CM.CM_ClusterPVS(leafs[0]), 0, fatpvs, 0, longs << 2); // or in all the other leaf bits for (i = 1; i < count; i++) { for (j = 0; j < i; j++) |