Correct a comment, and more diff reduction.

It turns out NQ "never" sent coordinats at 1/16 resolution: even q1source
sends coords at 1/8 resolution. This gets rid of an annoying difference.
This commit is contained in:
Bill Currie 2012-06-02 13:22:02 +09:00
parent 5bae5b3740
commit 301a6431c6
2 changed files with 7 additions and 7 deletions

View file

@ -620,10 +620,10 @@ V_CalcRefdef (void)
// never let it sit exactly on a node line, because a water plane can
// disappear when viewed with the eye exactly on it.
// server protocol specifies to only 1/16 pixel, so add 1/32 in each axis
r_data->refdef->vieworg[0] += 1.0 / 32;
r_data->refdef->vieworg[1] += 1.0 / 32;
r_data->refdef->vieworg[2] += 1.0 / 32;
// server protocol specifies to only 1/8 pixel, so add 1/16 in each axis
r_data->refdef->vieworg[0] += 1.0 / 16;
r_data->refdef->vieworg[1] += 1.0 / 16;
r_data->refdef->vieworg[2] += 1.0 / 16;
VectorCopy (cl.viewangles, r_data->refdef->viewangles);
V_CalcViewRoll ();

View file

@ -629,9 +629,9 @@ V_CalcRefdef (void)
// never let it sit exactly on a node line, because a water plane can
// disappear when viewed with the eye exactly on it.
// server protocol specifies to only 1/8 pixel, so add 1/16 in each axis
r_data->refdef->vieworg[0] += (1.0 / 16.0);
r_data->refdef->vieworg[1] += (1.0 / 16.0);
r_data->refdef->vieworg[2] += (1.0 / 16.0);
r_data->refdef->vieworg[0] += 1.0 / 16;
r_data->refdef->vieworg[1] += 1.0 / 16;
r_data->refdef->vieworg[2] += 1.0 / 16;
VectorCopy (cl.simangles, r_data->refdef->viewangles);
V_CalcViewRoll ();