don't go through the back side of walls

This commit is contained in:
Bill Currie 2006-12-24 05:05:27 +00:00 committed by Jeff Teunissen
parent bcdf710316
commit 46a74c831a

View file

@ -173,7 +173,7 @@ MOD_TraceLine (hull_t *hull, int num, const vec3_t start, const vec3_t end,
num = node->children[0];
continue;
}
if (front < offset && back < offset) {
if (front <= -offset && back <= -offset) {
num = node->children[1];
continue;
}