1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

* partial implementation of hero crossover

* minor fixes to resolution handling
* other minor fixes and changes
This commit is contained in:
mateuszb
2010-08-28 14:52:20 +00:00
parent 4d171bd53c
commit fc79b9b6cf
11 changed files with 142 additions and 19 deletions

View File

@@ -1828,7 +1828,7 @@ void CPlayerInterface::gameOver(ui8 player, bool victory )
{
std::string txt = CGI->generaltexth->allTexts[5]; //%s has been vanquished!
boost::algorithm::replace_first(txt, "%s", CGI->generaltexth->capColors[player]);
showInfoDialog(txt,std::vector<SComponent*>(1, new SComponent(SComponent::flag, player, 0)));
//showInfoDialog(txt,std::vector<SComponent*>(1, new SComponent(SComponent::flag, player, 0)));
}
}
}