Fix L/R frames not being automatically mirrored

This commit is contained in:
LJ Sonic 2024-09-19 20:48:47 +02:00
parent ef9dc17646
commit 77ab7e166e

View file

@ -367,7 +367,7 @@ static void MirrorMissingRotations(void)
{ {
spriteframe_t *frame = &sprtemp[framenum]; spriteframe_t *frame = &sprtemp[framenum];
if (frame->rotate == SRF_NONE || !(frame->rotate & SRF_3DMASK)) if (frame->rotate == SRF_NONE || !(frame->rotate & (SRF_3DMASK | SRF_2D)))
continue; continue;
UINT8 numrotations = frame->rotate == SRF_3D ? 8 : 16; UINT8 numrotations = frame->rotate == SRF_3D ? 8 : 16;