selInfo can't be left null when board created, as selPlayer is 0.

Point at pti[0] to fix crasher.
This commit is contained in:
ehouse 2008-07-18 09:03:54 +00:00
parent c20e85eccd
commit ab89d78ac8

View file

@ -136,6 +136,7 @@ board_make( MPFORMAL ModelCtxt* model, ServerCtxt* server, DrawCtx* draw,
if ( result != NULL ) {
XP_MEMSET( result, 0, sizeof( *result ) );
result->selInfo = result->pti; /* equates to selPlayer == 0 */
MPASSIGN(result->mpool, mpool);