Skip to content
Snippets Groups Projects
Unverified Commit 8d8257b4 authored by Hanicef's avatar Hanicef
Browse files

Handle missing frames for sprite gracefully

parent d7a84b96
No related branches found
No related tags found
1 merge request!2039Handle missing frames for sprites gracefully
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment