mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Merge pull request #6136 from Laserlicht/resource
Configurable resources
This commit is contained in:
@@ -227,7 +227,7 @@ void CMinorResDataBar::showAll(Canvas & to)
|
||||
{
|
||||
CIntObject::showAll(to);
|
||||
|
||||
for (GameResID i=EGameResID::WOOD; i<=EGameResID::GOLD; ++i)
|
||||
for (GameResID i=EGameResID::WOOD; i<=EGameResID::GOLD; ++i) //todo: configurable resource support
|
||||
{
|
||||
std::string text = std::to_string(GAME->interface()->cb->getResourceAmount(i));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user