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:
commit
d02258cff9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user