Clear contents flags before calling trace_contents.

This commit is contained in:
Bill Currie 2011-12-05 14:18:47 +09:00
parent 8307d9f233
commit c588d28b96

View file

@ -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;