Fix error report when some frames are missing

This commit is contained in:
LJ Sonic 2024-03-20 18:06:19 +01:00
parent 0e57d70b95
commit 49fa45039e

View file

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