mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Fix crash in Altar of Sacrifice, fixes #2648
This commit is contained in:
@ -575,7 +575,9 @@ void CTradeWindow::showAll(SDL_Surface * to)
|
|||||||
|
|
||||||
if(readyToTrade)
|
if(readyToTrade)
|
||||||
{
|
{
|
||||||
|
if(hLeft)
|
||||||
hLeft->showAllAt(pos.topLeft() + selectionOffset(true), selectionSubtitle(true), to);
|
hLeft->showAllAt(pos.topLeft() + selectionOffset(true), selectionSubtitle(true), to);
|
||||||
|
if(hRight)
|
||||||
hRight->showAllAt(pos.topLeft() + selectionOffset(false), selectionSubtitle(false), to);
|
hRight->showAllAt(pos.topLeft() + selectionOffset(false), selectionSubtitle(false), to);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user