mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-28 13:11:34 +00:00
Fix a severe braino, and get less excessively parenthetical in one spot.
This commit is contained in:
parent
753928bd39
commit
ca4d4791c9
3 changed files with 7 additions and 7 deletions
|
@ -371,9 +371,9 @@ SCR_ApplyBlend (void) // Used to be V_UpdatePalette
|
|||
b = basepal[2];
|
||||
basepal += 3;
|
||||
|
||||
r += ((int) (v_blend[3] * (v_blend[0] * 256 - r)));
|
||||
g += ((int) (v_blend[3] * (v_blend[1] * 256 - g)));
|
||||
b += ((int) (v_blend[3] * (v_blend[2] * 256 - b)));
|
||||
r += (int) (v_blend[3] * (v_blend[0] * 256 - r));
|
||||
g += (int) (v_blend[3] * (v_blend[1] * 256 - g));
|
||||
b += (int) (v_blend[3] * (v_blend[2] * 256 - b));
|
||||
|
||||
newpal[0] = gammatable[r];
|
||||
newpal[1] = gammatable[g];
|
||||
|
|
|
@ -75,11 +75,11 @@ static SCR_Func scr_funcs[] = {
|
|||
0
|
||||
};
|
||||
|
||||
extern void V_CalcBlend (void);
|
||||
extern void V_PrepBlend (void);
|
||||
|
||||
void
|
||||
CL_UpdateScreen (double realtime)
|
||||
{
|
||||
V_CalcBlend ();
|
||||
V_PrepBlend ();
|
||||
SCR_UpdateScreen (realtime, scr_funcs, cl_hudswap->int_val);
|
||||
}
|
||||
|
|
|
@ -79,12 +79,12 @@ static SCR_Func scr_funcs[] = {
|
|||
};
|
||||
|
||||
|
||||
extern void V_CalcBlend (void);
|
||||
extern void V_PrepBlend (void);
|
||||
|
||||
void
|
||||
CL_UpdateScreen (double realtime)
|
||||
{
|
||||
V_CalcBlend ();
|
||||
V_PrepBlend ();
|
||||
SCR_UpdateScreen (realtime, scr_funcs, cl_hudswap->int_val);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue