1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

* some work on campaigns

This commit is contained in:
mateuszb
2012-09-18 17:47:52 +00:00
parent 2cf4905d9c
commit fb2f19b4c5
7 changed files with 34 additions and 27 deletions

View File

@@ -2026,10 +2026,7 @@ void CPlayerInterface::gameOver(ui8 player, bool victory )
howManyPeople--;
if(!howManyPeople) //all human players eliminated
{
if(cb->getStartInfo()->mode != StartInfo::CAMPAIGN)
requestReturningToMainMenu();
else
requestStoppingClient();
requestReturningToMainMenu();
}
cb->unregisterMyInterface(); //we already won/lost, nothing else matters
}