mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
If platform doesn't provide a game id, use current seconds.
This commit is contained in:
parent
d4de570358
commit
5c2f7496b8
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ game_reset( MPFORMAL XWGame* game, CurGameInfo* gi,
|
||||||
XP_ASSERT( !!gi );
|
XP_ASSERT( !!gi );
|
||||||
|
|
||||||
checkServerRole( gi, &nPlayersHere, &nPlayersTotal );
|
checkServerRole( gi, &nPlayersHere, &nPlayersTotal );
|
||||||
|
while ( 0 == gameID ) {
|
||||||
|
gameID = util_getCurSeconds( util );
|
||||||
|
}
|
||||||
gi->gameID = gameID;
|
gi->gameID = gameID;
|
||||||
|
|
||||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||||
|
|
Loading…
Reference in a new issue