Formatting problem in fuzz draw fix.

This commit is contained in:
James Haley 2009-03-26 08:54:00 -05:00
parent b060a23583
commit d4dbd745e5

View File

@ -440,27 +440,27 @@ void R_DrawFuzzColumn(void)
// using the colormap #6 (of 0-31, a bit brighter than average). // using the colormap #6 (of 0-31, a bit brighter than average).
do do
{ {
// Lookup framebuffer, and retrieve // Lookup framebuffer, and retrieve
// a pixel that is either one column // a pixel that is either one column
// left or right of the current one. // left or right of the current one.
// Add index from colormap to index. // Add index from colormap to index.
// killough 3/20/98: use fullcolormap instead of colormaps // killough 3/20/98: use fullcolormap instead of colormaps
//sf : hires //sf : hires
*dest = fullcolormap[6*256+ *dest = fullcolormap[6*256+
dest[fuzzoffset[fuzzpos] ? SCREENWIDTH<<hires dest[fuzzoffset[fuzzpos] ? SCREENWIDTH<<hires
: -(SCREENWIDTH<<hires)]]; : -(SCREENWIDTH<<hires)]];
// Clamp table lookup index.
// Clamp table lookup index. if (++fuzzpos == FUZZTABLE)
if (++fuzzpos == FUZZTABLE)
fuzzpos = 0; fuzzpos = 0;
dest += SCREENWIDTH<<hires; dest += SCREENWIDTH<<hires;
frac += fracstep; frac += fracstep;
} while (count--); }
while (count--);
} }