Fix infinite loop

This commit is contained in:
LJ Sonic 2024-03-16 18:13:43 +01:00
parent a0c253f81e
commit 9b6c642345

View file

@ -317,7 +317,7 @@ static boolean GetFramesAndRotationsFromLongLumpName(
// Some checks to help development
static void CheckFrame(const char *sprname)
{
for (UINT8 frame = 0; frame < maxframe; frame++)
for (UINT32 frame = 0; frame < maxframe; frame++)
{
spriteframe_t *spriteframe = &sprtemp[frame];