aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-01-14 16:13:07 +0000
committerCarsten Weisse <[email protected]>2005-01-14 16:13:07 +0000
commitcff7dca2b76c9a5e18fc72c28665f8b918b2e9cc (patch)
tree2de0a81e16ab3c1355526e028147d75f7d3589d4 /src
parent29d2e3fddcf95e0d1bb1674bffd88b701ff5cf3d (diff)
the cplane_t.clear() is used (no garbage)
Diffstat (limited to 'src')
-rw-r--r--src/jake2/render/msurface_t.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jake2/render/msurface_t.java b/src/jake2/render/msurface_t.java
index 9a64c88..51fe1cc 100644
--- a/src/jake2/render/msurface_t.java
+++ b/src/jake2/render/msurface_t.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 20.11.2003 by RST.
-// $Id: msurface_t.java,v 1.3 2004-07-09 06:50:47 hzi Exp $
+// $Id: msurface_t.java,v 1.4 2005-01-14 16:13:07 cawe Exp $
package jake2.render;
@@ -68,8 +68,7 @@ public class msurface_t
public void clear() {
visframe = 0;
- plane = null;
- plane = new cplane_t();
+ plane.clear();
flags = 0;
firstedge = 0;