mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
don't overwrite gameID
This commit is contained in:
parent
4420049bd0
commit
f1f13c65a2
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ game_makeNewGame( MPFORMAL XWGame* game, CurGameInfo* gi,
|
||||||
#endif
|
#endif
|
||||||
assertUtilOK( util );
|
assertUtilOK( util );
|
||||||
|
|
||||||
gi->gameID = makeGameID( util );
|
if ( 0 == gi->gameID ) {
|
||||||
|
gi->gameID = makeGameID( util );
|
||||||
|
}
|
||||||
|
|
||||||
game->model = model_make( MPPARM(mpool) (DictionaryCtxt*)NULL, NULL, util,
|
game->model = model_make( MPPARM(mpool) (DictionaryCtxt*)NULL, NULL, util,
|
||||||
gi->boardSize );
|
gi->boardSize );
|
||||||
|
|
Loading…
Reference in a new issue