From 447a3e8254844f26a98042ee7ea209b4862dd5e1 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 7 Apr 2007 06:51:36 +0000 Subject: [PATCH] fix some nasty catches I was experiencing. I don't know why my logic didn't work, but it definitely didn't. --- libs/models/trace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/models/trace.c b/libs/models/trace.c index 68b2311ad..7dc9328b1 100644 --- a/libs/models/trace.c +++ b/libs/models/trace.c @@ -177,7 +177,9 @@ MOD_TraceLine (hull_t *hull, int num, num = node->children[0]; continue; } - if (start_dist <= -offset && end_dist <= -offset) { + //if (start_dist <= -offset && end_dist <= -offset) { + //XXX not so equivalent, it seems. + if (start_dist < -offset && end_dist < -offset) { // entirely behind the plane num = node->children[1]; continue;