mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +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
|
||||
//FIXME this is probably slow
|
||||
test_count++;
|
||||
trace->contents = 0;
|
||||
contents = trace_contents (hull, trace, leaf, state->origin);
|
||||
} else {
|
||||
contents = num;
|
||||
|
|
Loading…
Reference in a new issue