From: Mario Date: Fri, 25 Sep 2015 07:37:51 +0000 (+1000) Subject: Make debug messages less spammy X-Git-Tag: xonotic-v0.8.2~1906^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=336850d8906827e509c3653a2c001bda3f20f805;p=xonotic%2Fxonotic-data.pk3dir.git Make debug messages less spammy --- diff --git a/qcsrc/common/minigames/cl_minigames.qc b/qcsrc/common/minigames/cl_minigames.qc index 24f0b2dbc..f89669682 100644 --- a/qcsrc/common/minigames/cl_minigames.qc +++ b/qcsrc/common/minigames/cl_minigames.qc @@ -95,7 +95,7 @@ MINIGAME_SIMPLELINKED_ENTITIES void minigame_autoclean_entity(entity e) { - LOG_TRACE("CL Auto-cleaned: ",ftos(num_for_edict(e)), " (",e.classname,")\n"); + LOG_DEBUG("CL Auto-cleaned: ",ftos(num_for_edict(e)), " (",e.classname,")\n"); remove(e); } @@ -235,7 +235,7 @@ void ent_read_minigame() minigame_read_owner(); float ent = ReadLong(); self.minigame_playerslot = ent; - LOG_TRACE("Player: ",GetPlayerName(ent-1),"\n"); + LOG_DEBUG("Player: ",GetPlayerName(ent-1),"\n"); activate = (ent == player_localnum+1 && self.owner && self.owner != active_minigame); @@ -258,9 +258,9 @@ void ent_read_minigame() if ( sf & MINIG_SF_CREATE ) { - //LOG_TRACE("CL Reading entity: ",ftos(num_for_edict(self)), - // " classname:",self.classname," enttype:",ftos(self.enttype) ); - //LOG_TRACE(" sf:",ftos(sf)," netname:",self.netname,"\n\n"); + LOG_DEBUG("CL Reading entity: ",ftos(num_for_edict(self)), + " classname:",self.classname," enttype:",ftos(self.enttype) ); + LOG_DEBUG(" sf:",ftos(sf)," netname:",self.netname,"\n\n"); } } #undef ReadString