From b5e1e3a2c600be84464aa2731ea2f3aacfe47fce Mon Sep 17 00:00:00 2001 From: eehouse Date: Sat, 2 Jan 2010 01:41:12 +0000 Subject: [PATCH] add assert -- unset numPlayers trashed stack --- xwords4/common/scorebdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/scorebdp.c b/xwords4/common/scorebdp.c index 187ab446e..dafdb6530 100644 --- a/xwords4/common/scorebdp.c +++ b/xwords4/common/scorebdp.c @@ -61,7 +61,7 @@ drawScoreBoard( BoardCtxt* board ) short ii; XP_U16 nPlayers = board->gi->nPlayers; - + XP_ASSERT( nPlayers < MAX_NUM_PLAYERS ); if ( nPlayers > 0 ) { ModelCtxt* model = board->model; XP_S16 curTurn = server_getCurrentTurn( board->server );