mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 01:00:53 +00:00
readability cleanup of vector comparisons to 0, now all such comparisons use VectorIsNull, and a little more whitespace cleanup in cl_pred.c
This commit is contained in:
parent
f922262b61
commit
05545350e7
6 changed files with 21 additions and 29 deletions
|
@ -285,7 +285,7 @@ PM_GroundMove (void)
|
|||
float downdist, updist;
|
||||
|
||||
pmove.velocity[2] = 0;
|
||||
if (!pmove.velocity[0] && !pmove.velocity[1] && !pmove.velocity[2])
|
||||
if (VectorIsNull(pmove.velocity))
|
||||
return;
|
||||
|
||||
// first try just moving to the destination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue