diff --git a/client/windows/CHeroOverview.cpp b/client/windows/CHeroOverview.cpp index 6f42d0c22..b1719df4d 100644 --- a/client/windows/CHeroOverview.cpp +++ b/client/windows/CHeroOverview.cpp @@ -125,7 +125,7 @@ void CHeroOverview::genControls() r = Rect(302, 3 * borderOffset + yOffset + 62, 292, 32); backgroundRectangles.push_back(std::make_shared(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 int space = (260 - 7 * 32) / 6;