1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-11 11:31:52 +02:00

Fix crash in Altar of Sacrifice, fixes #2648

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

View File

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