mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-23 21:29:13 +02:00
Fix crash in Altar of Sacrifice, fixes #2648
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user