From a6f4890421e0b754b2a9fa25c9387932008ac362 Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 18 Mar 2022 21:55:31 +0000 Subject: [PATCH] Figured out what was wrong with splatsprites by comparing their drawing functions to the current state of 2.2's codebase. --- src/r_draw8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/r_draw8.c b/src/r_draw8.c index d7c608c4b..bffcce403 100644 --- a/src/r_draw8.c +++ b/src/r_draw8.c @@ -1801,11 +1801,11 @@ void R_DrawFloorSprite_8 (void) { if (brightmap != NULL && brightmap[bit] == BRIGHTPIXEL) { - *dest = fullbright[translation[val & 0xFF]]; + dest[i] = fullbright[translation[val & 0xFF]]; } else { - *dest = colormap[translation[val & 0xFF]]; + dest[i] = colormap[translation[val & 0xFF]]; } } xposition += xstep;