How did I mess this up?

This commit is contained in:
Jaime Passos 2020-01-06 22:08:51 -03:00
parent a089863823
commit 9e0d28f32f
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}
}