summaryrefslogtreecommitdiff
path: root/src/client/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/main.c')
-rw-r--r--src/client/main.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/client/main.c b/src/client/main.c
index da290f6..e48fb13 100644
--- a/src/client/main.c
+++ b/src/client/main.c
@@ -407,7 +407,7 @@ void CL_CheckForResend(void)
cls.passive = qfalse;
- Con_Popup();
+ Con_Popup(qtrue);
UI_OpenMenu(UIMENU_NONE);
}
@@ -563,7 +563,7 @@ usage:
cls.connect_time -= CONNECT_FAST;
cls.connect_count = 0;
- Con_Popup();
+ Con_Popup(qtrue);
CL_CheckForResend();
@@ -2356,6 +2356,8 @@ void CL_RestartFilesystem(qboolean total)
cls.state = ca_loading;
}
+ Con_Popup(qfalse);
+
UI_Shutdown();
S_StopAllSounds();
@@ -2395,6 +2397,8 @@ void CL_RestartFilesystem(qboolean total)
// switch back to original state
cls.state = cls_state;
+ Con_Close(qfalse);
+
CL_UpdateFrameTimes();
cvar_modified &= ~CVAR_FILES;
@@ -2414,6 +2418,8 @@ void CL_RestartRefresh(qboolean total)
cls.state = ca_loading;
}
+ Con_Popup(qfalse);
+
S_StopAllSounds();
if (total) {
@@ -2443,6 +2449,8 @@ void CL_RestartRefresh(qboolean total)
// switch back to original state
cls.state = cls_state;
+ Con_Close(qfalse);
+
CL_UpdateFrameTimes();
cvar_modified &= ~CVAR_FILES;