Fixed amb663 - crash when say or say_team command had no arguments

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401145
This commit is contained in:
Scott Ehlert 2007-07-20 07:31:09 +00:00
parent 14cd175743
commit 5de1cc57ce

View File

@ -118,6 +118,11 @@ void ChatTriggers::OnSayCommand_Pre()
}
const char *args = engine->Cmd_Args();
if (!args)
{
RETURN_META(MRES_IGNORED);
}
/* Handle quoted string sets */
bool is_quoted = false;