mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-12 23:44:39 +00:00
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:
parent
36eb3f13ad
commit
4c32449d26
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ void SVQ3_Trace(q3trace_t *result, vec3_t start, vec3_t mins, vec3_t maxs, vec3_
|
||||||
if (!maxs)
|
if (!maxs)
|
||||||
maxs = vec3_origin;
|
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->allsolid = tr.allsolid;
|
||||||
result->contents = tr.contents;
|
result->contents = tr.contents;
|
||||||
VectorCopy(tr.endpos, result->endpos);
|
VectorCopy(tr.endpos, result->endpos);
|
||||||
|
|
Loading…
Reference in a new issue