diff options
author | Tim Angus <tim@ngus.net> | 2005-12-20 01:24:21 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-12-20 01:24:21 +0000 |
commit | 07af35d09bd690d0f4ce059c4b3069917b8a49a4 (patch) | |
tree | e18e8144e68372d6d641ecbd9d4457555805463a | |
parent | 611eb5ee8a55d5aa473c48f8f9436a01e3f0cdb7 (diff) |
* Restore the say/team say display
-rw-r--r-- | src/client/cl_console.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/client/cl_console.c b/src/client/cl_console.c index 27deb623..d80bff0f 100644 --- a/src/client/cl_console.c +++ b/src/client/cl_console.c @@ -600,6 +600,29 @@ void Con_DrawConsole( void ) { if ( con.displayFrac ) { Con_DrawSolidConsole( con.displayFrac ); } + + if( cls.keyCatchers & ( KEYCATCH_UI | KEYCATCH_CGAME ) ) + return; + + // draw the chat line + if( cls.keyCatchers & KEYCATCH_MESSAGE ) + { + int skip; + + if( chat_team ) + { + SCR_DrawBigString( 8, 232, "Team Say:", 1.0f ); + skip = 11; + } + else + { + SCR_DrawBigString( 8, 232, "Say:", 1.0f ); + skip = 5; + } + + Field_BigDraw( &chatField, skip * BIGCHAR_WIDTH, 232, + SCREEN_WIDTH - ( skip + 1 ) * BIGCHAR_WIDTH, qtrue ); + } } //================================================================ |