mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 09:02:06 +00:00
Fix invalid syntax
This commit is contained in:
parent
de8a4bb3e1
commit
a0c253f81e
1 changed files with 10 additions and 8 deletions
|
@ -340,15 +340,17 @@ static void CheckFrame(const char *sprname)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// must have all 8/16 frames
|
|
||||||
UINT8 rotation = ((spriteframe->rotate & SRF_3DGE) ? 16 : 8);
|
|
||||||
while (rotation--)
|
|
||||||
{
|
{
|
||||||
// we test the patch lump, or the id lump whatever
|
// must have all 8/16 frames
|
||||||
// if it was not loaded the two are LUMPERROR
|
UINT8 rotation = ((spriteframe->rotate & SRF_3DGE) ? 16 : 8);
|
||||||
if (spriteframe->lumppat[rotation] == LUMPERROR)
|
while (rotation--)
|
||||||
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'));
|
// we test the patch lump, or the id lump whatever
|
||||||
|
// if it was not loaded the two are LUMPERROR
|
||||||
|
if (spriteframe->lumppat[rotation] == LUMPERROR)
|
||||||
|
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'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue