Use integer formatting for :team: msg
authormorosophos <morosophos@teichisma.info>
Thu, 3 Jan 2019 16:38:26 +0000 (18:38 +0200)
committermorosophos <morosophos@teichisma.info>
Thu, 3 Jan 2019 16:38:26 +0000 (18:38 +0200)
qcsrc/server/teamplay.qc

index 239fb69..a301036 100644 (file)
@@ -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)