mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-03 01:41:15 +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
|
||||
G_SaveGameData(false); // Tails 12-08-2002
|
||||
|
||||
/* Prevent segmentation fault if testers go to Record Attack... */
|
||||
#ifndef TESTERS
|
||||
// Shutdown. Here might be other errors.
|
||||
if (demo.recording)
|
||||
G_CheckDemoStatus();
|
||||
if (metalrecording)
|
||||
G_StopMetalRecording();
|
||||
#endif
|
||||
|
||||
D_QuitNetGame();
|
||||
I_ShutdownMusic();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue