mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
Move the simangles hack out of cl_view.
The places that will need to be fixed are now three, but cl_view.c now doesn't mess with values it shouldn't alter.
This commit is contained in:
parent
42256021fc
commit
d561d5587d
4 changed files with 3 additions and 2 deletions
|
@ -537,6 +537,7 @@ Cam_SetView (void)
|
|||
}
|
||||
VectorCopy (cam_viewangles, cl.viewangles);
|
||||
VectorCopy (cl.viewangles, cl.simangles);
|
||||
cl.simangles[ROLL] = 0; // FIXME @@@
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1547,6 +1547,7 @@ CL_ParseServerMessage (void)
|
|||
Sys_MaskPrintf (SYS_DEV, "%f ", cl.simorg[i]);
|
||||
Sys_MaskPrintf (SYS_DEV, "\nintermission simangles: ");
|
||||
MSG_ReadAngleV (net_message, cl.simangles);
|
||||
cl.simangles[ROLL] = 0; // FIXME @@@
|
||||
for (i = 0; i < 3; i++)
|
||||
Sys_MaskPrintf (SYS_DEV, "%f ", cl.simangles[i]);
|
||||
Sys_MaskPrintf (SYS_DEV, "\n");
|
||||
|
|
|
@ -130,6 +130,7 @@ CL_PredictMove (void)
|
|||
return;
|
||||
|
||||
VectorCopy (cl.viewangles, cl.simangles);
|
||||
cl.simangles[ROLL] = 0; // FIXME @@@
|
||||
|
||||
// this is the last frame received from the server
|
||||
from = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK];
|
||||
|
|
|
@ -697,8 +697,6 @@ DropPunchAngle (void)
|
|||
void
|
||||
V_RenderView (void)
|
||||
{
|
||||
cl.simangles[ROLL] = 0; // FIXME @@@
|
||||
|
||||
if (cls.state != ca_active)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue