From 29d2e3fddcf95e0d1bb1674bffd88b701ff5cf3d Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Fri, 14 Jan 2005 16:11:36 +0000 Subject: the new trace_t() removed with clear() (no garbage) --- src/jake2/qcommon/CM.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/qcommon/CM.java') 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; -- cgit v1.2.3