add missing gameID param

This commit is contained in:
ehouse 2005-01-13 01:43:02 +00:00
parent e66180acb6
commit 538113220f
2 changed files with 5 additions and 3 deletions

View file

@ -68,12 +68,14 @@ checkServerRole( CurGameInfo* gi )
void
game_makeNewGame( MPFORMAL XWGame* game, CurGameInfo* gi,
XW_UtilCtxt* util, DrawCtx* draw,
CommonPrefs* cp,
XP_U16 gameID, CommonPrefs* cp,
TransportSend sendproc, void* closure )
{
assertUtilOK( util );
checkServerRole( gi );
gi->gameID = gameID;
game->model = model_make( MPPARM(mpool) (DictionaryCtxt*)NULL, util,
gi->boardSize, gi->boardSize );

View file

@ -73,8 +73,8 @@ typedef struct XWGame {
} XWGame;
void game_makeNewGame( MPFORMAL XWGame* game, CurGameInfo* gi,
XW_UtilCtxt* util, DrawCtx* draw, CommonPrefs* cp,
TransportSend sendproc, void* closure );
XW_UtilCtxt* util, DrawCtx* draw, XP_U16 gameID,
CommonPrefs* cp, TransportSend sendproc, void* closure);
void game_reset( MPFORMAL XWGame* game, CurGameInfo* gi, XP_U16 gameID,
CommonPrefs* cp, TransportSend sendproc, void* closure );