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:
parent
980926a7bd
commit
137b9cde19
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user