If platform doesn't provide a game id, use current seconds.

This commit is contained in:
ehouse 2009-02-07 18:12:46 +00:00
parent 5a5cba9d1b
commit 42b314966b

View file

@ -127,6 +127,9 @@ game_reset( MPFORMAL XWGame* game, CurGameInfo* gi,
XP_ASSERT( !!gi );
checkServerRole( gi, &nPlayersHere, &nPlayersTotal );
while ( 0 == gameID ) {
gameID = util_getCurSeconds( util );
}
gi->gameID = gameID;
#ifndef XWFEATURE_STANDALONE_ONLY