1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

use config

This commit is contained in:
Laserlicht
2023-10-24 18:51:58 +02:00
committed by GitHub
parent b67548e7cf
commit abb279f5b4
3 changed files with 5 additions and 8 deletions

View File

@ -540,6 +540,7 @@ std::shared_ptr<CFilledTexture> InterfaceObjectConfigurable::buildTexture(const
{
auto result = std::make_shared<FilledTexturePlayerColored>(image, rect);
result->playerColored(playerColor);
return result;
}
return std::make_shared<CFilledTexture>(image, rect);
}