summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index dbaaa2a9..97d15077 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -3569,8 +3569,6 @@ void CL_Init( void ) {
cl_oldGameSet = qfalse;
}
- cls.realtime = 0;
-
CL_InitInput ();
//
@@ -3771,6 +3769,7 @@ CL_Shutdown
void CL_Shutdown(char *finalmsg, qboolean disconnect, qboolean quit)
{
static qboolean recursive = qfalse;
+ int realtime;
// check whether the client is running at all.
if(!(com_cl_running && com_cl_running->integer))
@@ -3823,7 +3822,9 @@ void CL_Shutdown(char *finalmsg, qboolean disconnect, qboolean quit)
recursive = qfalse;
+ realtime = cls.realtime;
Com_Memset( &cls, 0, sizeof( cls ) );
+ cls.realtime = realtime;
Key_SetCatcher( 0 );
Com_Printf( "-----------------------\n" );