mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix crash in TESTERS build if you try to record demo anyway
This commit is contained in:
parent
8cbdc999f4
commit
246280045c
1 changed files with 3 additions and 0 deletions
|
|
@ -3177,11 +3177,14 @@ void I_Error(const char *error, ...)
|
||||||
#endif
|
#endif
|
||||||
G_SaveGameData(false); // Tails 12-08-2002
|
G_SaveGameData(false); // Tails 12-08-2002
|
||||||
|
|
||||||
|
/* Prevent segmentation fault if testers go to Record Attack... */
|
||||||
|
#ifndef TESTERS
|
||||||
// Shutdown. Here might be other errors.
|
// Shutdown. Here might be other errors.
|
||||||
if (demo.recording)
|
if (demo.recording)
|
||||||
G_CheckDemoStatus();
|
G_CheckDemoStatus();
|
||||||
if (metalrecording)
|
if (metalrecording)
|
||||||
G_StopMetalRecording();
|
G_StopMetalRecording();
|
||||||
|
#endif
|
||||||
|
|
||||||
D_QuitNetGame();
|
D_QuitNetGame();
|
||||||
I_ShutdownMusic();
|
I_ShutdownMusic();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue