From 475f49dad2852ba4e248cecc4783a4a6249bf034 Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 29 Dec 2011 16:26:36 +0100 Subject: [PATCH] Get rid of the redundant com_shuttingDown Not required anymore since 7865e432, the timer is stopped gracefully when shutting down. --- neo/framework/Common.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/neo/framework/Common.cpp b/neo/framework/Common.cpp index 7663eef5..2e11b901 100644 --- a/neo/framework/Common.cpp +++ b/neo/framework/Common.cpp @@ -199,7 +199,6 @@ private: bool com_fullyInitialized; bool com_refreshOnPrint; // update the screen every print for dmap int com_errorEntered; // 0, ERP_DROP, etc - bool com_shuttingDown; idFile * logFile; @@ -236,7 +235,6 @@ idCommonLocal::idCommonLocal( void ) { com_fullyInitialized = false; com_refreshOnPrint = false; com_errorEntered = 0; - com_shuttingDown = false; logFile = NULL; @@ -2608,10 +2606,6 @@ idCommonLocal::Async ================= */ void idCommonLocal::Async( void ) { - if ( com_shuttingDown ) { - return; - } - int msec = Sys_Milliseconds(); if ( !lastTicMsec ) { lastTicMsec = msec - USERCMD_MSEC; @@ -2915,8 +2909,6 @@ idCommonLocal::Shutdown ================= */ void idCommonLocal::Shutdown( void ) { - com_shuttingDown = true; - if (async_timer) { SDL_RemoveTimer(async_timer); async_timer = NULL;