]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/sv_cmd.qc
Use printf macro
[xonotic/xonotic-data.pk3dir.git] / 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
                }