mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Added "produce" section in "building" structure. Changed dailyIncome.
This commit is contained in:
@ -966,7 +966,8 @@ void CCastleInterface::recreateIcons()
|
||||
size_t iconIndex = town->town->clientInfo.icons[town->hasFort()][town->builded >= CGI->modh->settings.MAX_BUILDING_PER_TURN];
|
||||
|
||||
icon->setFrame(iconIndex);
|
||||
income->setText(boost::lexical_cast<std::string>(town->dailyIncome()));
|
||||
TResources townIncome = town->dailyIncome();
|
||||
income->setText(boost::lexical_cast<std::string>(townIncome[Res::GOLD]));
|
||||
|
||||
hall = new CTownInfo( 80, 413, town, true);
|
||||
fort = new CTownInfo(122, 413, town, false);
|
||||
|
Reference in New Issue
Block a user