1
0
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:
mateuszb
2012-09-25 08:07:32 +00:00
parent 7fe2692bf8
commit f16a3a4527

View File

@ -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*****************************/