mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
* small fix
This commit is contained in:
@@ -523,6 +523,7 @@ void CSelectionScreen::startCampaign()
|
|||||||
{
|
{
|
||||||
CCampaign * ourCampaign = CCampaignHandler::getCampaign(curMap->filename, curMap->lodCmpgn);
|
CCampaign * ourCampaign = CCampaignHandler::getCampaign(curMap->filename, curMap->lodCmpgn);
|
||||||
CCampaignState * campState = new CCampaignState();
|
CCampaignState * campState = new CCampaignState();
|
||||||
|
campState->camp = ourCampaign;
|
||||||
GH.pushInt( new CBonusSelection(campState) );
|
GH.pushInt( new CBonusSelection(campState) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2633,7 +2634,7 @@ void CBonusSelection::startMap()
|
|||||||
{
|
{
|
||||||
StartInfo *si = new StartInfo(sInfo);
|
StartInfo *si = new StartInfo(sInfo);
|
||||||
//don't pop - we should get back to this screen
|
//don't pop - we should get back to this screen
|
||||||
//GH.popInts(3);
|
GH.popInts(3);
|
||||||
curOpts = NULL;
|
curOpts = NULL;
|
||||||
::startGame(si);
|
::startGame(si);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user