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;
|
||||
|
|
|
|||
|
|
@ -355,15 +355,15 @@ static void I_ShowErrorMessageBox(const char *messagefordevelopers, boolean dump
|
|||
finalmessage,
|
||||
sizeof(finalmessage),
|
||||
"\"SRB2Kart V2\" has encountered an unrecoverable error and needs to close.\n"
|
||||
"The %s log file is located at (%s).\n"
|
||||
"The %slog file is located at (%s).\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"%s",
|
||||
dumpmade ?
|
||||
#if defined (UNIXBACKTRACE)
|
||||
"crash-log.txt"
|
||||
"crash-log.txt "
|
||||
#elif defined (_WIN32)
|
||||
".rpt crash dump"
|
||||
".rpt crash dump "
|
||||
#endif
|
||||
: "",
|
||||
logfilename,
|
||||
|
|
|
|||
Loading…
Reference in a new issue