Fix invalid syntax

This commit is contained in:
LJ Sonic 2024-03-16 17:49:34 +01:00
parent de8a4bb3e1
commit a0c253f81e

View file

@ -340,6 +340,7 @@ static void CheckFrame(const char *sprname)
break; break;
default: default:
{
// must have all 8/16 frames // must have all 8/16 frames
UINT8 rotation = ((spriteframe->rotate & SRF_3DGE) ? 16 : 8); UINT8 rotation = ((spriteframe->rotate & SRF_3DGE) ? 16 : 8);
while (rotation--) while (rotation--)
@ -350,6 +351,7 @@ static void CheckFrame(const char *sprname)
I_Error("R_AddSingleSpriteDef: Sprite %s frame %d (%c) is missing rotations (1-%c mode)", I_Error("R_AddSingleSpriteDef: Sprite %s frame %d (%c) is missing rotations (1-%c mode)",
sprname, frame, R_Frame2Char(frame), ((spriteframe->rotate & SRF_3DGE) ? 'G' : '8')); sprname, frame, R_Frame2Char(frame), ((spriteframe->rotate & SRF_3DGE) ? 'G' : '8'));
} }
}
break; break;
} }
} }