mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
make rematch-to-self work again
This commit is contained in:
parent
ca970d7874
commit
c7b9182eca
2 changed files with 3 additions and 5 deletions
|
@ -257,8 +257,6 @@ game_makeRematch( const XWGame* oldGame, XWEnv xwe, XW_UtilCtxt* newUtil,
|
|||
if ( !server_ri_getAddr( rip, ii, &guestAddr, &nPlayersH ) ) {
|
||||
break;
|
||||
}
|
||||
XP_ASSERT( !comms_addrsAreSame( newGame->comms, &guestAddr,
|
||||
&selfAddr ) );
|
||||
|
||||
NetLaunchInfo nli;
|
||||
nli_init( &nli, newGI, selfAddrP, nPlayersH, ii + 1 );
|
||||
|
|
|
@ -775,9 +775,9 @@ inviteReceivedGTK( void* closure, const NetLaunchInfo* invite )
|
|||
if ( ! doIt ) {
|
||||
doIt = XP_FALSE;
|
||||
XP_LOGFF( "duplicate invite; not creating game" );
|
||||
/* doIt = GTK_RESPONSE_YES == gtkask( apg->window, */
|
||||
/* "Duplicate invitation received. Accept anyway?", */
|
||||
/* GTK_BUTTONS_YES_NO, NULL ); */
|
||||
doIt = GTK_RESPONSE_YES == gtkask( apg->window,
|
||||
"Duplicate invitation received. Accept anyway?",
|
||||
GTK_BUTTONS_YES_NO, NULL );
|
||||
}
|
||||
if ( doIt ) {
|
||||
gameFromInvite( apg, invite );
|
||||
|
|
Loading…
Reference in a new issue