fix some nasty catches I was experiencing. I don't know why my logic didn't work, but it definitely didn't.

This commit is contained in:
Bill Currie 2007-04-07 06:51:36 +00:00 committed by Jeff Teunissen
parent c6ea999d4d
commit 447a3e8254
1 changed files with 3 additions and 1 deletions

View File

@ -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;