]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/midi2cfg-ng.pl
make tuba bots turn a little while playing
[xonotic/xonotic.git] / misc / tools / midi2cfg-ng.pl
index 70a37517b26536eafea744c9f67a897c69003b8b..c2c3f47f09b50182676ff27d034cf53acc0ee713 100755 (executable)
@@ -344,7 +344,7 @@ sub busybot_cmd_bot_execute($$@)
                }
                elsif($_->[0] eq 'aim_random')
                {
                }
                elsif($_->[0] eq 'aim_random')
                {
-                       $commands .= sprintf "sv_cmd bot_cmd %d aim %f 0 %f\n", $_->[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')
                {
                }
                elsif($_->[0] eq 'barrier')
                {