mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
* fixed bug 1084
This commit is contained in:
@ -979,6 +979,8 @@ void CGameState::init(StartInfo * si)
|
|||||||
|
|
||||||
/*********give starting hero****************************************/
|
/*********give starting hero****************************************/
|
||||||
tlog4 << "\tGiving starting hero";
|
tlog4 << "\tGiving starting hero";
|
||||||
|
{
|
||||||
|
if(scenarioOps->campState)
|
||||||
{
|
{
|
||||||
auto bonus = scenarioOps->campState->getBonusForCurrentMap();
|
auto bonus = scenarioOps->campState->getBonusForCurrentMap();
|
||||||
if(bonus.is_initialized())
|
if(bonus.is_initialized())
|
||||||
@ -1008,6 +1010,7 @@ void CGameState::init(StartInfo * si)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*************************replace hero placeholders*****************************/
|
/*************************replace hero placeholders*****************************/
|
||||||
|
Reference in New Issue
Block a user