diff options
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r-- | src/cgame/cg_servercmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index fec4cfae..f4fb1d54 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -909,12 +909,12 @@ static void CG_Say( int clientNum, saymode_t mode, const char *text ) if( locent ) locationNum = locent->currentState.generic1; else - locationNum = 0; + locationNum = -1; } else locationNum = ci->location; - if( locationNum > 0 && locationNum < MAX_LOCATIONS ) + if( locationNum >= 0 && locationNum < MAX_LOCATIONS ) { const char *s = CG_ConfigString( CS_LOCATIONS + locationNum ); |