mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
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:
parent
c6ea999d4d
commit
447a3e8254
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue