]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Name the info command "mesh", and allow it to list both model, andimation frame,...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 29 Oct 2011 10:59:06 +0000 (13:59 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 29 Oct 2011 10:59:06 +0000 (13:59 +0300)
qcsrc/server/mutators/sandbox.qc

index 86e48936e914e2254fe1933a79ce1c4099ee4b17..e68a24a20e062b24ae20b4a63fa8198f76079102 100644 (file)
@@ -601,11 +601,11 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand)
                                {
                                        switch(argv(2))
                                        {
-                                               case "taginfo":
+                                               case "mesh":
                                                        string tags;
                                                        for(i = 0; gettaginfo(e, i); i++)
                                                                tags = strcat(tags, "^5", gettaginfo_name, "^7, ");
-                                                       print_to(self, strcat("^2SANDBOX - INFO: ^7Tag information for ^3", e.model, "^7: ", tags));
+                                                       print_to(self, strcat("^2SANDBOX - INFO: ^7Object mesh is ^3", e.model, "^7 at animation frame ^3", ftos(e.frame), " ^7containing the following tags: ", tags));
                                                        return TRUE;
                                        }
                                }