From: Mario Date: Wed, 7 May 2014 19:03:44 +0000 (+1000) Subject: Don't print CSQC team switch to team 0 failed messages to the client's normal console X-Git-Tag: xonotic-v0.8.0~219^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=80b4a25b27718466329e3ed3b17b63d298d7b6e3;p=xonotic%2Fxonotic-data.pk3dir.git Don't print CSQC team switch to team 0 failed messages to the client's normal console --- diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index db99e507f..e486672c8 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -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;