mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Quit on error fix
This commit is contained in:
parent
b081dd5d7e
commit
7cd1b99fdb
1 changed files with 5 additions and 4 deletions
|
|
@ -1489,8 +1489,6 @@ void I_UpdateMumble(const mobj_t *mobj, const listener_t listener)
|
||||||
#undef WINMUMBLE
|
#undef WINMUMBLE
|
||||||
#endif // NOMUMBLE
|
#endif // NOMUMBLE
|
||||||
|
|
||||||
#endif // HAVE_SDL
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// I_Tactile
|
// I_Tactile
|
||||||
//
|
//
|
||||||
|
|
@ -1940,13 +1938,15 @@ void I_Error(const char *error, ...)
|
||||||
#endif
|
#endif
|
||||||
G_SaveGameData(); // Tails 12-08-2002
|
G_SaveGameData(); // Tails 12-08-2002
|
||||||
|
|
||||||
|
// Shutdown. Here might be other errors.
|
||||||
|
|
||||||
/* Prevent segmentation fault if testers go to Record Attack... */
|
/* Prevent segmentation fault if testers go to Record Attack... */
|
||||||
#ifndef TESTERS
|
#ifndef TESTERS
|
||||||
// Shutdown. Here might be other errors.
|
|
||||||
if (demo.recording)
|
if (demo.recording)
|
||||||
G_CheckDemoStatus();
|
G_CheckDemoStatus();
|
||||||
if (metalrecording)
|
if (metalrecording)
|
||||||
G_StopMetalRecording(false);
|
G_StopMetalRecording(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
D_QuitNetGame();
|
D_QuitNetGame();
|
||||||
CL_AbortDownloadResume();
|
CL_AbortDownloadResume();
|
||||||
|
|
@ -2677,4 +2677,5 @@ const CPUInfoFlags *I_CPUInfo(void)
|
||||||
|
|
||||||
// note CPUAFFINITY code used to reside here
|
// note CPUAFFINITY code used to reside here
|
||||||
void I_RegisterSysCommands(void) {}
|
void I_RegisterSysCommands(void) {}
|
||||||
#endif
|
|
||||||
|
#endif // HAVE_SDL
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue