From: Samual Date: Fri, 11 Nov 2011 04:53:46 +0000 (-0500) Subject: Update to the last commit a bit :D X-Git-Tag: xonotic-v0.6.0~188^2~28^2~218 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a0bbb0d5a8da90836d8471b303f0f5fecaaa18c3;p=xonotic%2Fxonotic-data.pk3dir.git Update to the last commit a bit :D --- diff --git a/qcsrc/client/gamecommand.qc b/qcsrc/client/gamecommand.qc index 65bf3f63a..2d66d4228 100644 --- a/qcsrc/client/gamecommand.qc +++ b/qcsrc/client/gamecommand.qc @@ -334,7 +334,7 @@ void GameCommand(string command) } // nothing above caught the command, must be invalid - print("Invalid command", (command ? strcat(" '", command, "'") : ""), ". For a list of supported commands, try cl_cmd help.\n"); + print("Unknown client command", ((command != "") ? strcat(" \"", command, "\"") : ""), ". For a list of supported commands, try cl_cmd help.\n"); return; } diff --git a/qcsrc/server/gamecommand.qc b/qcsrc/server/gamecommand.qc index 35fa70ace..1c69eced6 100644 --- a/qcsrc/server/gamecommand.qc +++ b/qcsrc/server/gamecommand.qc @@ -1993,7 +1993,7 @@ void GameCommand(string command) } // nothing above caught the command, must be invalid - print("Invalid command", (command ? strcat(" '", command, "'") : ""), ". For a list of supported commands, try sv_cmd help.\n"); + print("Unknown server command", ((command != "") ? strcat(" \"", command, "\"") : ""), ". For a list of supported commands, try sv_cmd help.\n"); return; } \ No newline at end of file