diff options
Diffstat (limited to 'src/ui/ui_atoms.c')
-rw-r--r-- | src/ui/ui_atoms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_atoms.c b/src/ui/ui_atoms.c index ec1e1e73..90b70114 100644 --- a/src/ui/ui_atoms.c +++ b/src/ui/ui_atoms.c @@ -160,11 +160,11 @@ qboolean UI_ConsoleCommand( int realTime ) return qtrue; } - if( Q_strncmp( cmd, "messagemode", 11 ) == 0 ) + if( Q_strncmp( cmd, "ui_messagemode", 14 ) == 0 ) { trap_Cvar_Set( "ui_sayBuffer", "" ); - switch( cmd[ 11 ] ) + switch( cmd[ strlen(cmd) ] ) { default: case '\0': |