1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-23 21:29:13 +02:00

Fix crash in Altar of Sacrifice, fixes

This commit is contained in:
Piotr Wójcik 2017-07-29 19:22:58 +02:00
parent 980926a7bd
commit 137b9cde19

@ -575,8 +575,10 @@ void CTradeWindow::showAll(SDL_Surface * to)
if(readyToTrade)
{
hLeft->showAllAt(pos.topLeft() + selectionOffset(true), selectionSubtitle(true), to);
hRight->showAllAt(pos.topLeft() + selectionOffset(false), selectionSubtitle(false), to);
if(hLeft)
hLeft->showAllAt(pos.topLeft() + selectionOffset(true), selectionSubtitle(true), to);
if(hRight)
hRight->showAllAt(pos.topLeft() + selectionOffset(false), selectionSubtitle(false), to);
}
}