]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove compiler warning
authorterencehill <piuntn@gmail.com>
Tue, 5 Feb 2013 22:31:45 +0000 (23:31 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 5 Feb 2013 22:31:45 +0000 (23:31 +0100)
qcsrc/server/mutators/gamemode_freezetag.qc

index 7e068e954687e855d3b54fea4c3d0869feb8de32..3b385e0632979eed463e5ae4a0810769e8a400cc 100644 (file)
@@ -78,7 +78,7 @@ float freezetag_CheckTeams()
        }
        if(prev_total_players != total_players)
        {
-               string teams_missing;
+               string teams_missing = "";
                if(!redalive)   teams_missing = strcat(teams_missing, ColoredTeamName(COLOR_TEAM1), ", ");
                if(!bluealive)  teams_missing = strcat(teams_missing, ColoredTeamName(COLOR_TEAM2), ", ");
                teams_missing = substring(teams_missing, 0, strlen(teams_missing)-2);