call draw_dictChanged on load so draw can calc fonts immediately

This commit is contained in:
ehouse 2008-09-09 12:16:06 +00:00
parent 181e880d8d
commit 4ffeada868

View file

@ -193,6 +193,7 @@ game_makeFromStream( MPFORMAL XWStreamCtxt* stream, XWGame* game,
game->comms = NULL;
}
#endif
XP_ASSERT( !!dict );
game->model = model_makeFromStream( MPPARM(mpool) stream, dict, util );
game->server = server_makeFromStream( MPPARM(mpool) stream,
@ -209,6 +210,7 @@ game_makeFromStream( MPFORMAL XWStreamCtxt* stream, XWGame* game,
gi->nPlayers );
server_prefsChanged( game->server, cp );
board_prefsChanged( game->board, cp );
draw_dictChanged( draw, dict );
success = XP_TRUE;
} else {
XP_LOGF( "%s: aborting; stream version too new!", __func__ );