- removed the no longer needed exception prevention hack.

# Conflicts:
#	src/scripting/vm/vmframe.cpp
This commit is contained in:
Christoph Oelckers 2018-12-01 14:26:15 +01:00
commit 85a3edf583
4 changed files with 7 additions and 46 deletions

View file

@ -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 ()