don't try to draw with null dctx

This commit is contained in:
Eric House 2013-10-31 06:35:00 -07:00
parent 3bfcc0cedd
commit 88af10552e

View file

@ -624,7 +624,7 @@ drawTradeWindowIf( BoardCtxt* board )
XP_Bool
board_draw( BoardCtxt* board )
{
if ( board->boardBounds.width > 0 ) {
if ( !!board->draw && board->boardBounds.width > 0 ) {
drawScoreBoard( board );