mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 05:00:46 +00:00
Colormap overhaul r_data: Mixed D+C fix
This commit is contained in:
parent
2f995f4cbe
commit
57959522e2
1 changed files with 2 additions and 2 deletions
|
@ -1905,6 +1905,8 @@ extracolormap_t *R_AddColormaps(extracolormap_t *exc_augend, extracolormap_t *ex
|
|||
boolean useAltAlpha, INT16 altAlpha, INT16 altFadeAlpha,
|
||||
boolean lighttable)
|
||||
{
|
||||
INT16 red, green, blue, alpha;
|
||||
|
||||
// exc_augend is added (or subtracted) onto by exc_addend
|
||||
// In Rennaisance times, the first number was considered the augend, the second number the addend
|
||||
// But since the commutative property was discovered, today they're both called addends!
|
||||
|
@ -1914,8 +1916,6 @@ extracolormap_t *R_AddColormaps(extracolormap_t *exc_augend, extracolormap_t *ex
|
|||
if(!exc_addend)
|
||||
exc_addend = R_GetDefaultColormap();
|
||||
|
||||
INT16 red, green, blue, alpha;
|
||||
|
||||
///////////////////
|
||||
// base rgba
|
||||
///////////////////
|
||||
|
|
Loading…
Reference in a new issue