mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
give serverRole a default value.
This commit is contained in:
parent
5588ed30ad
commit
07e7032c16
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ gi_initPlayerInfo( MPFORMAL CurGameInfo* gi, const XP_UCHAR* nameTemplate )
|
|||
XP_U16 i;
|
||||
|
||||
XP_MEMSET( gi, 0, sizeof(*gi) );
|
||||
gi->serverRole = SERVER_STANDALONE;
|
||||
gi->nPlayers = 2;
|
||||
gi->boardSize = 15;
|
||||
gi->robotSmartness = SMART_ROBOT;
|
||||
|
|
Loading…
Reference in a new issue