Fix stupid bug in e30f824. :(

It's VectorCopy(src, dest) and not the other way round. Clion noticed
that, but neither clang nor gcc complained that tmp was used
unitialized.
This commit is contained in:
Yamagi Burmeister 2018-02-07 19:02:13 +01:00
parent 17a5106492
commit a1aac4e56d

View file

@ -297,7 +297,7 @@ CL_PredictMovement(void)
}
step = pm.s.origin[2] - (int)(cl.predicted_origin[2] * 8);
VectorCopy(tmp, pm.s.velocity);
VectorCopy(pm.s.velocity, tmp);
if (((step > 126 && step < 130))
&& !VectorCompare(tmp, vec3_origin)