diff --git a/libs/models/test/testclip.c b/libs/models/test/testclip.c index c9b89276d..264b57ec7 100644 --- a/libs/models/test/testclip.c +++ b/libs/models/test/testclip.c @@ -373,7 +373,8 @@ do_trace (box_t *box, hull_t *hull, vec3_t start, vec3_t end) trace.inwater = false; trace.fraction = 1; VectorCopy (box->extents, trace.extents); - trace.type = tr_box; + // FIXME specify tract type in test spec + trace.type = box == &point ? tr_point : tr_box; VectorCopy (end, trace.endpos); MOD_TraceLine (hull, 0, start, end, &trace); return trace;