]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use printf macro
authorMario <mario.mario@y7mail.com>
Fri, 3 Jan 2014 08:55:54 +0000 (19:55 +1100)
committerMario <mario.mario@y7mail.com>
Fri, 3 Jan 2014 08:55:54 +0000 (19:55 +1100)
qcsrc/server/command/sv_cmd.qc

index 8c96f2d7306dd90f6c15f4486762ff4343ec2050..ba4aa9fd47550e547131ba796ac424d1daa16ab5 100644 (file)
@@ -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
                }