diff options
author | Carsten Weisse <[email protected]> | 2005-01-22 22:32:10 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-01-22 22:32:10 +0000 |
commit | fbc979d4889cc348afe6bbbd00020057b9da4b43 (patch) | |
tree | feb763ae96038686f6cbae3c0dd314d4afe7a4d3 | |
parent | cb9b3075796ae9a522efdc84536de2e3f709ba5f (diff) |
simplified ;-)
-rw-r--r-- | src/jake2/render/model_t.java | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/jake2/render/model_t.java b/src/jake2/render/model_t.java index 5ee824c..81730f3 100644 --- a/src/jake2/render/model_t.java +++ b/src/jake2/render/model_t.java @@ -19,17 +19,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 20.11.2003 by RST. -// $Id: model_t.java,v 1.3 2004-07-09 06:50:47 hzi Exp $ +// $Id: model_t.java,v 1.4 2005-01-22 22:32:10 cawe Exp $ package jake2.render; -import java.util.Vector; - -import jake2.qcommon.*; +import jake2.Defines; +import jake2.game.cplane_t; +import jake2.qcommon.qfiles; import jake2.util.Lib; import jake2.util.Math3D; -import jake2.*; -import jake2.game.*; + +import java.util.Arrays; public class model_t implements Cloneable { @@ -171,13 +171,9 @@ public class model_t implements Cloneable { // for alias models and skins // was image_t *skins[]; (array of pointers) - for (int i = 0; i < skins.length; i++) - { - skins[i] = null; - } + Arrays.fill(skins, null); extradatasize = 0; - // or whatever extradata = null; } |