]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 239fb69f0ca8e0e4b20b1da78d8e44897b4e6e5b..a30103645d344a640b4c08751d65ef6dd239dcaa 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)