fix aim command use

This commit is contained in:
Rudolf Polzer 2011-12-10 12:34:08 +01:00
parent 9486a7b3e2
commit 179727e96b

View File

@ -344,7 +344,7 @@ sub busybot_cmd_bot_execute($$@)
}
elsif($_->[0] eq 'aim_random')
{
$commands .= sprintf "sv_cmd bot_cmd %d aim %f 0 %f\n", $bot->{id}, $_->[1] + rand($_->[2] - $_->[1]), $_->[3];
$commands .= sprintf "sv_cmd bot_cmd %d aim \"%f 0 %f\"\n", $bot->{id}, $_->[1] + rand($_->[2] - $_->[1]), $_->[3];
}
elsif($_->[0] eq 'barrier')
{