From 9e0d28f32f8a9da22216371214cfc5c43da02834 Mon Sep 17 00:00:00 2001 From: Jaime Passos Date: Mon, 6 Jan 2020 22:08:51 -0300 Subject: [PATCH] How did I mess this up? --- src/r_picformats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_picformats.c b/src/r_picformats.c index 340fd5bf6..cafe30d7e 100644 --- a/src/r_picformats.c +++ b/src/r_picformats.c @@ -1578,7 +1578,7 @@ void R_CacheRotSprite(spritenum_t sprnum, UINT8 frame, spriteinfo_t *sprinfo, sp { void *input = Picture_GetPatchPixel(patch, PICFMT_PATCH, sx, sy, bflip); if (input != NULL) - rawdst[(dy*newwidth)+dx] = *(UINT16 *)input; + rawdst[(dy*newwidth)+dx] = (0xFF00 | (*(UINT8 *)input)); } } }