diff --git a/client/windows/CTradeWindow.cpp b/client/windows/CTradeWindow.cpp index 202a8445d..7d3cbbad3 100644 --- a/client/windows/CTradeWindow.cpp +++ b/client/windows/CTradeWindow.cpp @@ -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); } }