Catch Animdefs error instead of I_Erroring
This commit is contained in:
parent
5b50bc72df
commit
c06e3d3352
2 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue