From: Mario Date: Fri, 3 Jan 2014 08:55:54 +0000 (+1100) Subject: Use printf macro X-Git-Tag: xonotic-v0.8.0~241^2^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5d7eb4a97c075147699d0e9fac8243575f8cdbb2;p=xonotic%2Fxonotic-data.pk3dir.git Use printf macro --- diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index 8c96f2d73..ba4aa9fd4 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -168,7 +168,7 @@ void GameCommand_mobbutcher(float request) if(removed_count <= 0) print("No monsters to kill\n"); else - print(sprintf("Killed %d monster%s\n", removed_count, ((removed_count == 1) ? "" : "s"))); + printf("Killed %d monster%s\n", removed_count, ((removed_count == 1) ? "" : "s")); return; // never fall through to usage }