]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use normal movelib function for monster movement
authorMario <mario.mario@y7mail.com>
Wed, 2 Oct 2013 04:40:31 +0000 (21:40 -0700)
committerMario <mario.mario@y7mail.com>
Wed, 2 Oct 2013 04:40:31 +0000 (21:40 -0700)
qcsrc/server/command/sv_cmd.qc

index dd3d6e3d0c8a9eed8364d0f48660ec289f03a95a..337138bd01a03cc2615029e589ad1d4f6408ee7e 100644 (file)
@@ -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
                }