[iortcw] 75/89: SP: Don't allow ingame menu during savegame loading
Simon McVittie
smcv at debian.org
Fri Sep 8 10:44:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to tag 1.51b
in repository iortcw.
commit 16d4690ab720f5d7db968b927f17ff968d4845bc
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Fri Jul 28 22:29:25 2017 -0400
SP: Don't allow ingame menu during savegame loading
Fixed by uzyfeo
---
SP/code/ui/ui_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/SP/code/ui/ui_main.c b/SP/code/ui/ui_main.c
index 07f0f0b..3b93036 100644
--- a/SP/code/ui/ui_main.c
+++ b/SP/code/ui/ui_main.c
@@ -7076,6 +7076,9 @@ void _UI_SetActiveMenu( uiMenuCommand_t menu ) {
return;
case UIMENU_INGAME:
+ if ( trap_Cvar_VariableValue( "savegame_loading" ) ) {
+ return;
+ }
trap_Cvar_Set( "cl_paused", "1" );
trap_Key_SetCatcher( KEYCATCH_UI );
UI_BuildPlayerList();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list