Whoops, missed one Length.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2002-08-20 02:31:19 +00:00
parent c91f1a2aea
commit 7de0dd6b5e

View file

@ -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;