mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 04:01:11 +00:00
cvar set audit (I thought I got all of this when I did the value -> int_val
audit, oh well)
This commit is contained in:
parent
ff1ffe2212
commit
4c3d4b4dcb
4 changed files with 8 additions and 8 deletions
|
@ -605,9 +605,9 @@ void V_CalcIntermissionRefdef (void)
|
|||
|
||||
// allways idle in intermission
|
||||
old = v_idlescale->value;
|
||||
v_idlescale->value = 1;
|
||||
Cvar_SetValue (v_idlescale, 1);
|
||||
V_AddIdle ();
|
||||
v_idlescale->value = old;
|
||||
Cvar_SetValue (v_idlescale, old);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1102,10 +1102,10 @@ void VID_CheckModedescFixup (int mode)
|
|||
stretch = modelist[mode].stretched;
|
||||
|
||||
if (vid_config_x->int_val < (320 << stretch))
|
||||
vid_config_x->int_val = 320 << stretch;
|
||||
Cvar_SetValue (vid_config_x, 320 << stretch);
|
||||
|
||||
if (vid_config_y->int_val < (200 << stretch))
|
||||
vid_config_y->int_val = 200 << stretch;
|
||||
Cvar_SetValue (vid_config_y, 200 << stretch);
|
||||
|
||||
x = vid_config_x->int_val;
|
||||
y = vid_config_y->int_val;
|
||||
|
|
|
@ -411,14 +411,14 @@ VID_SetMode(int modenum, unsigned char *palette)
|
|||
int err;
|
||||
|
||||
if ((modenum >= num_modes) || (modenum < 0) || !modes[modenum].width){
|
||||
vid_mode->int_val = (float)current_mode;
|
||||
Cvar_SetValue (vid_mode, current_mode);
|
||||
|
||||
Con_Printf("No such video mode: %d\n",modenum);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
vid_mode->int_val = modenum;
|
||||
Cvar_SetValue (vid_mode, modenum);
|
||||
|
||||
current_mode=modenum;
|
||||
|
||||
|
|
|
@ -1049,10 +1049,10 @@ void VID_CheckModedescFixup (int mode)
|
|||
stretch = modelist[mode].stretched;
|
||||
|
||||
if (vid_config_x->int_val < (320 << stretch))
|
||||
vid_config_x->int_val = 320 << stretch;
|
||||
Cvar_SetValue (vid_config_x, 320 << stretch);
|
||||
|
||||
if (vid_config_y->int_val < (200 << stretch))
|
||||
vid_config_y->int_val = 200 << stretch;
|
||||
Cvar_SetValue (vid_config_y, 200 << stretch);
|
||||
|
||||
x = vid_config_x->int_val;
|
||||
y = vid_config_y->int_val;
|
||||
|
|
Loading…
Reference in a new issue