|
@@ -125,7 +125,7 @@ void CHeroOverview::genControls()
|
|
|
r = Rect(302, 3 * borderOffset + yOffset + 62, 292, 32);
|
|
r = Rect(302, 3 * borderOffset + yOffset + 62, 292, 32);
|
|
|
backgroundRectangles.push_back(std::make_shared<TransparentFilledRectangle>(r.resize(1), rectangleColor, borderColor));
|
|
backgroundRectangles.push_back(std::make_shared<TransparentFilledRectangle>(r.resize(1), rectangleColor, borderColor));
|
|
|
|
|
|
|
|
- auto stacksCountChances = LOCPLINT->cb->getSettings().getVector(EGameSettings::HEROES_STARTING_STACKS_CHANCES);
|
|
|
|
|
|
|
+ auto stacksCountChances = CGI->engineSettings()->getVector(EGameSettings::HEROES_STARTING_STACKS_CHANCES);
|
|
|
|
|
|
|
|
// army
|
|
// army
|
|
|
int space = (260 - 7 * 32) / 6;
|
|
int space = (260 - 7 * 32) / 6;
|