mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 10:21:49 +00:00
Merge branch 'handle-missing-frame-gracefully' into 'next'
Handle missing frames for sprites gracefully See merge request STJr/SRB2!2039
This commit is contained in:
commit
bf5c4a1b0d
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ static void R_LoadSkinSprites(UINT16 wadnum, UINT16 *lump, UINT16 *lastlump, ski
|
|||
R_AddSingleSpriteDef(spr2names[sprite2], &skin->sprites[sprite2], wadnum, *lump, *lastlump);
|
||||
|
||||
if (skin->sprites[0].numframes == 0)
|
||||
I_Error("R_LoadSkinSprites: no frames found for sprite SPR2_%s\n", spr2names[0]);
|
||||
CONS_Alert(CONS_ERROR, M_GetText("No frames found for sprite SPR2_%s\n"), spr2names[0]);
|
||||
}
|
||||
|
||||
// returns whether found appropriate property
|
||||
|
|
Loading…
Reference in a new issue