Remove DeinitConProc() call for NEW_DED_CONSOLE builds where it's init function is never called.

This commit is contained in:
Knightmare66 2019-06-11 23:36:40 -04:00
parent fbee2c15c1
commit 5e7cc0a375

View file

@ -321,11 +321,11 @@ void Sys_Quit (void)
if (dedicated && dedicated->value)
FreeConsole ();
// shut down QHOST hooks if necessary
DeinitConProc ();
#ifdef NEW_DED_CONSOLE
Sys_ShutdownConsole();
#else
// shut down QHOST hooks if necessary
DeinitConProc ();
#endif
exit (0);