aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-01-14 16:11:36 +0000
committerCarsten Weisse <[email protected]>2005-01-14 16:11:36 +0000
commit29d2e3fddcf95e0d1bb1674bffd88b701ff5cf3d (patch)
treec0e69a067b9a62600a574393f1678b507e5abf33
parent05e9dad90a93896d223ff0070911cd5f2ccf3c4c (diff)
the new trace_t() removed with clear() (no garbage)
-rw-r--r--src/jake2/qcommon/CM.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/qcommon/CM.java b/src/jake2/qcommon/CM.java
index 52495db..38d4ec0 100644
--- a/src/jake2/qcommon/CM.java
+++ b/src/jake2/qcommon/CM.java
@@ -19,7 +19,7 @@
*/
// Created on 02.01.2004 by RST.
-// $Id: CM.java,v 1.6 2004-09-22 19:22:09 salomo Exp $
+// $Id: CM.java,v 1.7 2005-01-14 16:11:36 cawe Exp $
package jake2.qcommon;
import jake2.Defines;
@@ -1503,7 +1503,7 @@ public class CM {
// fill in a default trace
//was: memset(& trace_trace, 0, sizeof(trace_trace));
- trace_trace = new trace_t();
+ trace_trace.clear();
trace_trace.fraction = 1;
trace_trace.surface = nullsurface.c;