Merge branch 'master' into next

This commit is contained in:
ac-stef
2015-02-08 16:17:04 +01:00
150 changed files with 2348 additions and 716 deletions
+3 -3
View File
@@ -47,7 +47,7 @@ bool changemapserv(char *name, int mode, int download, int revision) // f
bool revmatch = hdr.maprevision == revision || revision == 0;
if(watchingdemo)
{
if(!revmatch) conoutf(_("%c3demo was recorded on map revision %d, you have map revision %d"), CC, revision, hdr.maprevision);
if(loaded && !revmatch) conoutf(_("%c3demo was recorded on map revision %d, you have map revision %d"), CC, revision, hdr.maprevision);
}
else
{
@@ -1067,7 +1067,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p, bool demo = false)
playerent *alive = getclient(acn);
conoutf(_("the round is over! next round in 5 seconds..."));
if(m_botmode && acn==-2) hudoutf(_("the bots have won the round!"));
else if(!alive) hudoutf(_("everyone died!"));
else if(acn==-1) hudoutf(_("everyone died!"));
else if(m_teammode) hudoutf(_("team %s has won the round!"), team_string(alive->team));
else if(alive==player1) hudoutf(_("you are the survivor!"));
else hudoutf(_("%s is the survivor!"), colorname(alive));
@@ -1169,7 +1169,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p, bool demo = false)
conoutf(_("player %s switched to team %s"), pls, nts); // new message
break;
case FTR_AUTOTEAM:
if(watchingdemo) conoutf(_("the server forced %s to team %s"), colorname(d), nts);
if(watchingdemo || team_isspect(player1->team)) conoutf(_("the server forced %s to team %s"), colorname(d), nts);
else hudoutf(_("the server forced %s to %s team"), colorname(d), et ? _("the enemy") : _("your"));
break;
}