From: morosophos Date: Thu, 3 Jan 2019 16:38:26 +0000 (+0200) Subject: Use integer formatting for :team: msg X-Git-Tag: xonotic-v0.8.5~1668^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=86103edadb6e10ed66ad30446c033245616bffb1;p=xonotic%2Fxonotic-data.pk3dir.git Use integer formatting for :team: msg --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 239fb69f0..a30103645 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -1013,7 +1013,7 @@ void LogTeamChange(float player_id, float team_number, int type) { return; } - GameLogEcho(sprintf(":team:%f:%f:%f", player_id, team_number, type)); + GameLogEcho(sprintf(":team:%d:%d:%d", player_id, team_number, type)); } void KillPlayerForTeamChange(entity player)