bah, missed those 0s

This commit is contained in:
Bill Currie 2006-12-24 04:34:08 +00:00 committed by Jeff Teunissen
parent 7624f2eb87
commit bcdf710316

View file

@ -169,11 +169,11 @@ MOD_TraceLine (hull_t *hull, int num, const vec3_t start, const vec3_t end,
// (front == -offset && back == -offset), the trace will go down
// the /correct/ side of the plane: ie, the side the box is actually
// on
if (front >= 0 && back >= 0) {
if (front >= offset && back >= offset) {
num = node->children[0];
continue;
}
if (front < 0 && back < 0) {
if (front < offset && back < offset) {
num = node->children[1];
continue;
}