mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
Fix fuzz darkness (#1216)
This commit is contained in:
parent
1518890609
commit
4ecef5fa59
@ -498,7 +498,7 @@ static void R_DrawFuzzColumn_orig(void)
|
|||||||
// fraggle 1/8/2000: fix with the bugfix from lees
|
// fraggle 1/8/2000: fix with the bugfix from lees
|
||||||
// why_i_left_doom.html
|
// why_i_left_doom.html
|
||||||
|
|
||||||
*dest = fullcolormap[6*256+dest[fuzzoffset[fuzzpos++] ? linesize : -linesize]];
|
*dest = fullcolormap[6*256+dest[fuzzoffset[fuzzpos++] ? -linesize : linesize]];
|
||||||
dest += linesize; // killough 11/98
|
dest += linesize; // killough 11/98
|
||||||
|
|
||||||
// Clamp table lookup index.
|
// Clamp table lookup index.
|
||||||
@ -563,7 +563,7 @@ static void R_DrawFuzzColumn_block(void)
|
|||||||
{
|
{
|
||||||
// [FG] draw only even pixels as 2x2 squares
|
// [FG] draw only even pixels as 2x2 squares
|
||||||
// using the same fuzzoffset value
|
// using the same fuzzoffset value
|
||||||
const byte fuzz = fullcolormap[6*256+dest[fuzzoffset[fuzzpos] ? 2*linesize : -2*linesize]];
|
const byte fuzz = fullcolormap[6*256+dest[fuzzoffset[fuzzpos] ? -2*linesize : 2*linesize]];
|
||||||
|
|
||||||
dest[0] = fuzz;
|
dest[0] = fuzz;
|
||||||
dest[1] = fuzz;
|
dest[1] = fuzz;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user