From 179727e96bb36fc3529ead8339d835781942675c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 10 Dec 2011 12:34:08 +0100 Subject: [PATCH] fix aim command use --- misc/tools/midi2cfg-ng.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools/midi2cfg-ng.pl b/misc/tools/midi2cfg-ng.pl index 83550b00..58b40970 100755 --- a/misc/tools/midi2cfg-ng.pl +++ b/misc/tools/midi2cfg-ng.pl @@ -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') { -- 2.39.2