diff options
Diffstat (limited to 'src/client')
-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 ); + } } //================================================================ |