ref: dce1f0b9505f5e411a69ab2b077831db22333270
parent: 09e77d155e28fb036cb2eca375ffbb2c51a726f8
author: Michael Day <[email protected]>
date: Tue Jun 7 17:38:25 EDT 2022
Restore correct Hexen "DrawFuzzPatch" behavior In the original Hexen source release, the V_DrawFuzzPatch() tinttable index has the *source value in the upper 8 bits and the *dest value in the lower 8 bits.
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -315,7 +315,7 @@
while (count--)
{
- *dest = tinttable[((*dest) << 8) + *source++];
+ *dest = tinttable[*dest + ((*source++) << 8)];
dest += SCREENWIDTH;
}
column = (column_t *) ((byte *) column + column->length + 4);