summaryrefslogtreecommitdiff
path: root/src/client/cl_console.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-28 02:32:43 +0000
committerTim Angus <tim@ngus.net>2005-12-28 02:32:43 +0000
commit1dc7e94283f026b17c1e793cbf7542872812ffda (patch)
tree33de56bca208626f1e7c77853255afc2b8244279 /src/client/cl_console.c
parent4b614e63d7da358a8a30e61a89365add79ecde9c (diff)
* Added master server to source, based on dpmaster
* Removed gametype, fraglimit and dmflags cvars * Removed CD key authentication stuff * Implemented a means to save and restore cmd context * Bumped protocol version up to 69 (same as 68) * Removed various references to punkbuster * Maps on create server menu now sorted by name * Fixed some warnings
Diffstat (limited to 'src/client/cl_console.c')
-rw-r--r--src/client/cl_console.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/cl_console.c b/src/client/cl_console.c
index d80bff0f..efbf2d17 100644
--- a/src/client/cl_console.c
+++ b/src/client/cl_console.c
@@ -378,9 +378,13 @@ void CL_ConsolePrint( char *txt ) {
}
if( !skipnotify && !( cls.keyCatchers & KEYCATCH_CONSOLE ) ) {
+ Cmd_SaveCmdContext( );
+
// feed the text to cgame
Cmd_TokenizeString( txt );
CL_GameConsoleText( );
+
+ Cmd_RestoreCmdContext( );
}
color = ColorIndex(COLOR_WHITE);