mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
Get rid of the redundant com_shuttingDown
Not required anymore since 7865e432
, the timer is stopped
gracefully when shutting down.
This commit is contained in:
parent
57dc097fb0
commit
475f49dad2
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue