From c588d28b96df4b31a66622182608ff98102f79cc Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 5 Dec 2011 14:18:47 +0900 Subject: [PATCH] Clear contents flags before calling trace_contents. --- libs/models/trace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/models/trace.c b/libs/models/trace.c index ff28789d6..b824f8244 100644 --- a/libs/models/trace.c +++ b/libs/models/trace.c @@ -658,6 +658,7 @@ visit_leaf (hull_t *hull, int num, clipleaf_t *leaf, trace_t *trace, return 0; // we're not here //FIXME this is probably slow test_count++; + trace->contents = 0; contents = trace_contents (hull, trace, leaf, state->origin); } else { contents = num;