mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Move I_ShutdownConsole to I_ShutdownSystem
This commit is contained in:
parent
d46bd4e8f1
commit
b701baca6d
1 changed files with 2 additions and 3 deletions
|
|
@ -2169,7 +2169,6 @@ void I_Quit(void)
|
|||
if (quiting) goto death;
|
||||
SDLforceUngrabMouse();
|
||||
quiting = SDL_FALSE;
|
||||
I_ShutdownConsole();
|
||||
M_SaveConfig(NULL); //save game config, cvars..
|
||||
#ifndef NONET
|
||||
D_SaveBan(); // save the ban list
|
||||
|
|
@ -2287,8 +2286,6 @@ void I_Error(const char *error, ...)
|
|||
I_OutputMsg("\nI_Error(): %s\n", buffer);
|
||||
// ---
|
||||
|
||||
I_ShutdownConsole();
|
||||
|
||||
M_SaveConfig(NULL); // save game config, cvars..
|
||||
#ifndef NONET
|
||||
D_SaveBan(); // save the ban list
|
||||
|
|
@ -2388,6 +2385,8 @@ void I_ShutdownSystem(void)
|
|||
{
|
||||
INT32 c;
|
||||
|
||||
I_ShutdownConsole();
|
||||
|
||||
for (c = MAX_QUIT_FUNCS-1; c >= 0; c--)
|
||||
if (quit_funcs[c])
|
||||
(*quit_funcs[c])();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue