mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 22:40:50 +00:00
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:
parent
17a5106492
commit
a1aac4e56d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue