mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Whoops, missed one Length.
This commit is contained in:
parent
c91f1a2aea
commit
7de0dd6b5e
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ Chase_Update (void)
|
|||
|
||||
// check for walls between player and camera
|
||||
TraceLine (r_refdef.vieworg, camera_origin, stop);
|
||||
if (Length (stop) != 0)
|
||||
if (VectorLength (stop) != 0)
|
||||
for (i = 0; i < 3; i++)
|
||||
camera_origin[i] = stop[i] + forward[i] * 8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue