mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Merge pull request #5844 from IvanSavenko/bonus_fixes
Fixes to bonus system functionality
This commit is contained in:
@@ -1476,6 +1476,13 @@ CCastleInterface::~CCastleInterface()
|
||||
GAME->interface()->castleInt = nullptr;
|
||||
}
|
||||
|
||||
void CCastleInterface::updateArtifacts()
|
||||
{
|
||||
// handle equipping / unequipping Legion pieces
|
||||
for(auto creatureInfoBox : creainfo)
|
||||
creatureInfoBox->update();
|
||||
}
|
||||
|
||||
void CCastleInterface::updateGarrisons()
|
||||
{
|
||||
garr->setArmy(town->getUpperArmy(), EGarrisonType::UPPER);
|
||||
|
||||
Reference in New Issue
Block a user