mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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
|
||||
// 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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue