mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
bah, missed those 0s
This commit is contained in:
parent
7624f2eb87
commit
bcdf710316
1 changed files with 2 additions and 2 deletions
|
@ -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
|
// (front == -offset && back == -offset), the trace will go down
|
||||||
// the /correct/ side of the plane: ie, the side the box is actually
|
// the /correct/ side of the plane: ie, the side the box is actually
|
||||||
// on
|
// on
|
||||||
if (front >= 0 && back >= 0) {
|
if (front >= offset && back >= offset) {
|
||||||
num = node->children[0];
|
num = node->children[0];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (front < 0 && back < 0) {
|
if (front < offset && back < offset) {
|
||||||
num = node->children[1];
|
num = node->children[1];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue