mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Bring hero strength for campaigns in line with h3
This commit is contained in:
@@ -553,7 +553,7 @@ void CGameStateCampaign::initHeroes()
|
||||
int maxB = -1;
|
||||
for (int b=0; b<heroes.size(); ++b)
|
||||
{
|
||||
if (maxB == -1 || heroes[b]->getValueForCampaign() > heroes[maxB]->getValueForCampaign())
|
||||
if(maxB == -1 || CGHeroInstance::compareCampaignValue(heroes[b], heroes[maxB]))
|
||||
{
|
||||
maxB = b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user