1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-10 22:31:40 +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

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);