mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-25 04:22:03 +00:00
CVAR_FIXME cleanup
This commit is contained in:
parent
6168fcebcc
commit
df980b44a1
13 changed files with 2 additions and 495 deletions
|
@ -527,11 +527,7 @@ void Sbar_DrawInventory (void)
|
|||
qboolean headsup;
|
||||
qboolean hudswap;
|
||||
|
||||
/* headsup = !(cl_sbar.value || scr_viewsize.value<100);
|
||||
CVAR_FIXME */
|
||||
headsup = !(cl_sbar->value || scr_viewsize->value<100);
|
||||
/* hudswap = cl_hudswap.value; // Get that nasty float out :)
|
||||
CVAR_FIXME */
|
||||
hudswap = cl_hudswap->value; // Get that nasty float out :)
|
||||
|
||||
if (!headsup)
|
||||
|
@ -743,10 +739,8 @@ Sbar_DrawNormal
|
|||
*/
|
||||
void Sbar_DrawNormal (void)
|
||||
{
|
||||
/* if (cl_sbar.value || scr_viewsize.value<100)
|
||||
CVAR_FIXME */
|
||||
if (cl_sbar->value || scr_viewsize->value<100)
|
||||
Sbar_DrawPic (0, 0, sb_sbar);
|
||||
Sbar_DrawPic (0, 0, sb_sbar);
|
||||
|
||||
// armor
|
||||
if (cl.stats[STAT_ITEMS] & IT_INVULNERABILITY)
|
||||
|
@ -797,8 +791,6 @@ void Sbar_Draw (void)
|
|||
qboolean headsup;
|
||||
char st[512];
|
||||
|
||||
/* headsup = !(cl_sbar.value || scr_viewsize.value<100);
|
||||
CVAR_FIXME */
|
||||
headsup = !(cl_sbar->value || scr_viewsize->value<100);
|
||||
if ((sb_updates >= vid.numpages) && !headsup)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue