mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +00:00
Disable error messages while fuzzing
This commit is contained in:
parent
9d395396db
commit
8c14e85129
1 changed files with 5 additions and 2 deletions
|
|
@ -1769,7 +1769,8 @@ void I_Error(const char *error, ...)
|
||||||
// Implement message box with SDL_ShowSimpleMessageBox,
|
// Implement message box with SDL_ShowSimpleMessageBox,
|
||||||
// which should fail gracefully if it can't put a message box up
|
// which should fail gracefully if it can't put a message box up
|
||||||
// on the target system
|
// on the target system
|
||||||
if (!M_CheckParm("-dedicated"))
|
extern consvar_t cv_fuzz;
|
||||||
|
if (!M_CheckParm("-dedicated") && !(cv_fuzz.value))
|
||||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
|
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
|
||||||
"Dr. Robotnik's Ring Racers " VERSIONSTRING " Recursive Error",
|
"Dr. Robotnik's Ring Racers " VERSIONSTRING " Recursive Error",
|
||||||
buffer, NULL);
|
buffer, NULL);
|
||||||
|
|
@ -1814,7 +1815,9 @@ void I_Error(const char *error, ...)
|
||||||
I_ShutdownGraphics();
|
I_ShutdownGraphics();
|
||||||
I_ShutdownInput();
|
I_ShutdownInput();
|
||||||
|
|
||||||
I_ShowErrorMessageBox(buffer, false);
|
extern consvar_t cv_fuzz;
|
||||||
|
if (!cv_fuzz.value)
|
||||||
|
I_ShowErrorMessageBox(buffer, false);
|
||||||
|
|
||||||
// We wait until now to do this so the funny sound can be heard
|
// We wait until now to do this so the funny sound can be heard
|
||||||
I_ShutdownSound();
|
I_ShutdownSound();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue