1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

Merge pull request #4092 from SoundSSGood/quick-fix-CExchangeWindow

Quick fix for CExchangeWindow
This commit is contained in:
Ivan Savenko 2024-06-05 12:39:58 +03:00 committed by GitHub
commit d02258cff9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,7 +251,7 @@ CExchangeWindow::CExchangeWindow(ObjectInstanceID hero1, ObjectInstanceID hero2,
}
}
CWindowWithArtifacts::update();
CExchangeWindow::update();
}
void CExchangeWindow::moveArtifactsCallback(bool leftToRight)
@ -355,6 +355,8 @@ void CExchangeWindow::questLogShortcut()
void CExchangeWindow::update()
{
CWindowWithArtifacts::update();
for(size_t leftRight : {0, 1})
{
const CGHeroInstance * hero = heroInst.at(leftRight);