mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 01:21:17 +00:00
Clear contents flags before calling trace_contents.
This commit is contained in:
parent
8307d9f233
commit
c588d28b96
1 changed files with 1 additions and 0 deletions
|
@ -658,6 +658,7 @@ visit_leaf (hull_t *hull, int num, clipleaf_t *leaf, trace_t *trace,
|
||||||
return 0; // we're not here
|
return 0; // we're not here
|
||||||
//FIXME this is probably slow
|
//FIXME this is probably slow
|
||||||
test_count++;
|
test_count++;
|
||||||
|
trace->contents = 0;
|
||||||
contents = trace_contents (hull, trace, leaf, state->origin);
|
contents = trace_contents (hull, trace, leaf, state->origin);
|
||||||
} else {
|
} else {
|
||||||
contents = num;
|
contents = num;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue