]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't print CSQC team switch to team 0 failed messages to the client's normal console
authorMario <mario.mario@y7mail.com>
Wed, 7 May 2014 19:03:44 +0000 (05:03 +1000)
committerMario <mario.mario@y7mail.com>
Wed, 7 May 2014 19:03:44 +0000 (05:03 +1000)
qcsrc/client/Main.qc

index db99e507ff7b68d86586799ca7942ac99088e360..e486672c89d28a7b74e668bdf7da98b12bec5116 100644 (file)
@@ -214,7 +214,7 @@ float SetTeam(entity o, float Team)
                        default:
                                if(GetTeam(Team, false) == world)
                                {
-                                       printf(_("trying to switch to unsupported team %d\n"), Team);
+                                       dprintf(_("trying to switch to unsupported team %d\n"), Team);
                                        Team = NUM_SPECTATOR;
                                }
                                break;
@@ -230,7 +230,7 @@ float SetTeam(entity o, float Team)
                        default:
                                if(GetTeam(Team, false) == world)
                                {
-                                       printf(_("trying to switch to unsupported team %d\n"), Team);
+                                       dprintf(_("trying to switch to unsupported team %d\n"), Team);
                                        Team = NUM_SPECTATOR;
                                }
                                break;