1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

- Fixed mantis #1613

This commit is contained in:
beegee1 2013-12-07 10:04:17 +00:00
parent 2d095cf20a
commit 6caac8e82b

View File

@ -2117,7 +2117,13 @@ void CPlayerInterface::gameOver(PlayerColor player, const EVictoryLossCheckResul
--howManyPeople;
if(cb->getStartInfo()->mode != StartInfo::CAMPAIGN) //campaigns are handled in proposeNextMission
if(cb->getStartInfo()->mode == StartInfo::CAMPAIGN)
{
// if you lose the campaign go back to the main menu
// campaign wins are handled in proposeNextMission
if(victoryLossCheckResult.loss()) requestReturningToMainMenu();
}
else
{
if(howManyPeople == 0) //all human players eliminated
{