the big cvar value -> int_val audit. seems to work ok

This commit is contained in:
Bill Currie 2000-10-17 03:17:42 +00:00
parent 4478b82af4
commit 2682888425
50 changed files with 332 additions and 332 deletions

View file

@ -145,7 +145,7 @@ void IN_KLookUp (void) {KeyUp(&in_klook);}
void IN_MLookDown (void) {KeyDown(&in_mlook);}
void IN_MLookUp (void) {
KeyUp(&in_mlook);
if ( !freelook && lookspring->value)
if ( !freelook && lookspring->int_val)
V_StartPitchDrift();
}
void IN_UpDown(void) {KeyDown(&in_up);}
@ -499,7 +499,7 @@ void CL_SendCmd (void)
if (cls.netchan.outgoing_sequence - cl.validsequence >= UPDATE_BACKUP-1)
cl.validsequence = 0;
if (cl.validsequence && !cl_nodelta->value && cls.state == ca_active &&
if (cl.validsequence && !cl_nodelta->int_val && cls.state == ca_active &&
!cls.demorecording)
{
cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].delta_sequence = cl.validsequence;