mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Use the split_plane for the in-leaf test.
This seems to work better (all previously working tests pass again), but the target test is still broken.
This commit is contained in:
parent
7b59eaf0cd
commit
e3d8394b7a
1 changed files with 2 additions and 2 deletions
|
@ -204,9 +204,9 @@ MOD_TraceLine (hull_t *hull, int num,
|
|||
// it's not possible to not be in the leaf when doing a point trace
|
||||
// if leaf is null, assume we're in the leaf
|
||||
// if plane is null, the trace did not cross the last node plane
|
||||
int in_leaf = (trace->type == tr_point || !leaf || !plane
|
||||
int in_leaf = (trace->type == tr_point || !leaf || !split_plane
|
||||
|| check_in_leaf (hull, trace, leaf,
|
||||
plane,
|
||||
split_plane,
|
||||
vel, start));
|
||||
if (in_leaf && num == CONTENTS_SOLID) {
|
||||
if (!seen_empty && !seen_solid) {
|
||||
|
|
Loading…
Reference in a new issue