mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
remove some redundant code
This is an imperfect revision of history.
This commit is contained in:
parent
6625d38a05
commit
1e1734f6b4
1 changed files with 1 additions and 7 deletions
|
@ -175,13 +175,7 @@ TestLine (lightinfo_t *l, vec3_t start, vec3_t end)
|
|||
// go down the back side
|
||||
VectorCopy (tstack->backpt, backpt);
|
||||
|
||||
node = tnodes[tstack->node].children[!tstack->side];
|
||||
}
|
||||
|
||||
if (node == CONTENTS_SOLID && empty) {
|
||||
// DONE!
|
||||
VectorCopy (backpt, l->testlineimpact);
|
||||
return false;
|
||||
node = tnodes[tstack->node].children[tstack->side ^ 1];
|
||||
}
|
||||
|
||||
tnode = &tnodes[node];
|
||||
|
|
Loading…
Reference in a new issue