]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix effectless statement warning in print
authorSamual <samual@xonotic.org>
Wed, 5 Oct 2011 17:01:27 +0000 (13:01 -0400)
committerSamual <samual@xonotic.org>
Wed, 5 Oct 2011 17:01:27 +0000 (13:01 -0400)
qcsrc/server/gamecommand.qc

index 70371f42b782a48634a552a4c0d287b26ac9531b..471c0960e9343ab226e23195d6daa81ee148a31d 100644 (file)
@@ -795,7 +795,7 @@ void GameCommand_bot_cmd(float request, float argc) // what a mess... old old co
                                        bot = find_bot_by_name(argv(1));
                                if(bot)
                                {
-                                       print(strcat("Command '", (argv(2), " ", argv(3)), "' sent to bot ", bot.netname, "\n"));
+                                       print(strcat("Command '", strcat(argv(2), " ", argv(3)), "' sent to bot ", bot.netname, "\n"));
                                        bot_queuecommand(bot, strcat(argv(2), " ", argv(3)));
                                        return;
                                }