Fix incorrect traces in Quake3. This fixes rockets, at least.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2378 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-09-10 02:49:12 +00:00
parent 36eb3f13ad
commit 4c32449d26

View file

@ -582,7 +582,7 @@ void SVQ3_Trace(q3trace_t *result, vec3_t start, vec3_t mins, vec3_t maxs, vec3_
if (!maxs)
maxs = vec3_origin;
sv.worldmodel->funcs.Trace(sv.worldmodel, 0, 0, start, end, mins, maxs, &tr);
sv.worldmodel->funcs.NativeTrace(sv.worldmodel, 0, 0, start, end, mins, maxs, contentmask, &tr);
result->allsolid = tr.allsolid;
result->contents = tr.contents;
VectorCopy(tr.endpos, result->endpos);