From: Samual Date: Wed, 5 Oct 2011 17:01:27 +0000 (-0400) Subject: Fix effectless statement warning in print X-Git-Tag: xonotic-v0.6.0~188^2~28^2~261 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=19945e9e7abf817467d7284947efab9d0c2c772d;p=xonotic%2Fxonotic-data.pk3dir.git Fix effectless statement warning in print --- diff --git a/qcsrc/server/gamecommand.qc b/qcsrc/server/gamecommand.qc index 70371f42b..471c0960e 100644 --- a/qcsrc/server/gamecommand.qc +++ b/qcsrc/server/gamecommand.qc @@ -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; }