Thanks Simon McVittie for fixing the bug regression in https://bugzilla.icculus.org/show_bug.cgi?id=4629

This commit is contained in:
Thilo Schulz 2011-02-04 15:11:57 +00:00
parent 01d7eaddf5
commit ecbe1ab9fd
1 changed files with 1 additions and 1 deletions

View File

@ -1482,7 +1482,7 @@ void SV_ExecuteClientCommand( client_t *cl, const char *s, qboolean clientOK ) {
if (clientOK) {
// pass unknown strings to the game
if (!u->name && sv.state == SS_GAME && cl->state == CS_ACTIVE) {
if (!u->name && sv.state == SS_GAME && (cl->state == CS_ACTIVE || cl->state == CS_PRIMED)) {
Cmd_Args_Sanitize();
VM_Call( gvm, GAME_CLIENT_COMMAND, cl - svs.clients );
}