From: Mario Date: Wed, 2 Oct 2013 04:40:31 +0000 (-0700) Subject: Use normal movelib function for monster movement X-Git-Tag: xonotic-v0.8.0~241^2^2~62 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=68fe271e1d39421530b8219f0d3d5dc7640d1be0;p=xonotic%2Fxonotic-data.pk3dir.git Use normal movelib function for monster movement --- diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index dd3d6e3d0..337138bd0 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -176,7 +176,7 @@ void GameCommand_butcher(float request) if(removed_count <= 0) print("No monsters to kill\n"); else - print(strcat("Killed ", ftos(removed_count), " monster", ((removed_count == 1) ? "\n" : "s\n"))); + print(sprintf("Killed %d monster%s\n", removed_count, ((removed_count == 1) ? "" : "s"))); return; // never fall through to usage }