- removed the no longer needed exception prevention hack.
# Conflicts: # src/scripting/vm/vmframe.cpp
This commit is contained in:
parent
067e9de00a
commit
85a3edf583
4 changed files with 7 additions and 46 deletions
|
|
@ -220,7 +220,6 @@ void I_FatalError(const char* const error, ...)
|
|||
|
||||
}
|
||||
|
||||
extern thread_local int jit_frames;
|
||||
void I_Error (const char *error, ...)
|
||||
{
|
||||
va_list argptr;
|
||||
|
|
@ -228,17 +227,9 @@ void I_Error (const char *error, ...)
|
|||
|
||||
va_start(argptr, error);
|
||||
|
||||
if (jit_frames == 0)
|
||||
{
|
||||
vsprintf (errortext, error, argptr);
|
||||
va_end (argptr);
|
||||
throw CRecoverableError(errortext);
|
||||
}
|
||||
else
|
||||
{
|
||||
I_FatalError(error, argptr);
|
||||
va_end(argptr);
|
||||
}
|
||||
vsprintf (errortext, error, argptr);
|
||||
va_end (argptr);
|
||||
throw CRecoverableError(errortext);
|
||||
}
|
||||
|
||||
void I_SetIWADInfo ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue