Catch Animdefs error instead of I_Erroring

This commit is contained in:
NepDisk 2025-05-26 10:38:44 -04:00
parent 5b50bc72df
commit c06e3d3352
2 changed files with 5 additions and 5 deletions

View file

@ -237,9 +237,9 @@ void P_InitPicAnims(void)
if (lastanim->numpics < 2)
{
free(anims);
I_Error("P_InitPicAnims: bad cycle from %s to %s",
CONS_Alert(CONS_WARNING, "P_InitPicAnims: bad cycle from %s to %s.\n",
animdefs->startname, animdefs->endname);
continue;
}
lastanim->speed = animdef->speed;