Merge branch 'master' into next
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user