mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
CL_Tracepos_f: fix wrong trace endpoint (developer function added in Fitzquake)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1304 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
3b158e0e5f
commit
759aa803d1
1 changed files with 1 additions and 1 deletions
|
@ -726,7 +726,7 @@ void CL_Tracepos_f (void)
|
||||||
{
|
{
|
||||||
vec3_t v, w;
|
vec3_t v, w;
|
||||||
|
|
||||||
VectorScale(vpn, 8192.0, v);
|
VectorMA(r_refdef.vieworg, 8192.0, vpn, v);
|
||||||
TraceLine(r_refdef.vieworg, v, w);
|
TraceLine(r_refdef.vieworg, v, w);
|
||||||
|
|
||||||
if (VectorLength(w) == 0)
|
if (VectorLength(w) == 0)
|
||||||
|
|
Loading…
Reference in a new issue