mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
call gi_initPlayerInfo() for defaults when not provided on commandline.
This commit is contained in:
parent
42ab780680
commit
b770c51f58
1 changed files with 5 additions and 0 deletions
|
@ -1033,6 +1033,11 @@ main( int argc, char** argv )
|
|||
mainParams.serverRole = SERVER_ISCLIENT;
|
||||
}
|
||||
|
||||
if ( mainParams.needsNewGame ) {
|
||||
gi_initPlayerInfo( MPPARM(mainParams.util->mpool)
|
||||
&mainParams.gi, NULL );
|
||||
}
|
||||
|
||||
/* curses doesn't have newgame dialog */
|
||||
if ( useCurses && !mainParams.needsNewGame ) {
|
||||
#if defined PLATFORM_NCURSES
|
||||
|
|
Loading…
Reference in a new issue