mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Revert CamCust change
This commit is contained in:
@ -92,13 +92,7 @@ CSelectionBase::CSelectionBase(ESelectionScreen type)
|
||||
pos.h = 584;
|
||||
if(screenType == ESelectionScreen::campaignList)
|
||||
{
|
||||
//setBackground(ImagePath::builtin("CamCust.bmp"));
|
||||
|
||||
const JsonNode& gameSelectConfig = CMainMenuConfig::get().getConfig()["campaign-selection"];
|
||||
const JsonVector& bgNames = gameSelectConfig["background"].Vector();
|
||||
|
||||
setBackground(ImagePath::fromJson(*RandomGeneratorUtil::nextItem(bgNames, CRandomGenerator::getDefault())));
|
||||
|
||||
setBackground(ImagePath::builtin("CamCust.bmp"));
|
||||
pos = background->center();
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user