Fixed issues with COMMAND_FILTER_NO_BOTS and @bots multi-target. (r=fennec)

This commit is contained in:
Asher Baker 2013-03-10 03:20:31 +00:00
parent 8da56ff98c
commit 52e9ec10bf

View File

@ -1383,7 +1383,7 @@ void PlayerManager::ProcessCommandTarget(cmd_target_info_t *info)
if ((info->flags & COMMAND_FILTER_NO_BOTS) == COMMAND_FILTER_NO_BOTS)
{
info->num_targets = 0;
info->reason = COMMAND_FILTER_NO_BOTS;
info->reason = COMMAND_TARGET_NOT_HUMAN;
return;
}
strncopy(info->target_name, "all bots", info->target_name_maxlength);