mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
add missing gameID param
This commit is contained in:
parent
e66180acb6
commit
538113220f
2 changed files with 5 additions and 3 deletions
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue