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

* restoring campaign features

* minor improvements
This commit is contained in:
mateuszb
2012-09-21 17:59:54 +00:00
parent f38244bb5a
commit 8e3de98059
15 changed files with 161 additions and 89 deletions

View File

@@ -515,12 +515,14 @@ void CClient::updatePaths()
calculatePaths(h);
}
void CClient::finishCampaign( CCampaignState * camp )
void CClient::finishCampaign( shared_ptr<CCampaignState> camp )
{
}
void CClient::proposeNextMission( CCampaignState * camp )
void CClient::proposeNextMission(shared_ptr<CCampaignState> camp)
{
endGame(false);
LOCPLINT = nullptr; //TODO free res
GH.pushInt(new CBonusSelection(camp));
GH.curInt = CGP;
}