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:
parent
14cd175743
commit
5de1cc57ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user