From 1e1734f6b4c23a169bfbb0a536980050e06ec012 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 2 Nov 2004 05:17:00 +0000 Subject: [PATCH] remove some redundant code This is an imperfect revision of history. --- tools/qflight/source/trace.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tools/qflight/source/trace.c b/tools/qflight/source/trace.c index 76216bbc8..f29e1ad8c 100644 --- a/tools/qflight/source/trace.c +++ b/tools/qflight/source/trace.c @@ -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];