mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Implemented generation of player-colored version of DiBoxBck
This commit is contained in:
@@ -309,9 +309,8 @@ std::shared_ptr<CIntObject> AdventureMapWidget::buildStatusBar(const JsonNode &
|
||||
std::shared_ptr<CIntObject> AdventureMapWidget::buildTexturePlayerColored(const JsonNode & input)
|
||||
{
|
||||
logGlobal->debug("Building widget CFilledTexture");
|
||||
auto image = ImagePath::fromJson(input["image"]);
|
||||
Rect area = readTargetArea(input["area"]);
|
||||
return std::make_shared<FilledTexturePlayerColored>(image, area);
|
||||
return std::make_shared<FilledTexturePlayerColored>(area);
|
||||
}
|
||||
|
||||
std::shared_ptr<CHeroList> AdventureMapWidget::getHeroList()
|
||||
|
||||
Reference in New Issue
Block a user