mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
Don't force conns dialog open on new game.
This commit is contained in:
parent
1117e76f64
commit
048dccebae
2 changed files with 2 additions and 3 deletions
|
@ -700,7 +700,7 @@ GameInfo(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
break;
|
||||
case GIROLECONF_BUTTON:
|
||||
state->connsComplete = callConnsDlg( state );
|
||||
(void)callConnsDlg( state );
|
||||
break;
|
||||
#endif
|
||||
case GIJUGGLE_BUTTON:
|
||||
|
@ -730,7 +730,7 @@ GameInfo(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
SendDlgItemMessage( hDlg, state->roleComboId,
|
||||
GETCURSEL(globals), 0, 0L );
|
||||
if ( role != SERVER_STANDALONE
|
||||
&& !state->connsComplete
|
||||
&& !comms_checkComplete( &state->prefsPrefs.addrRec )
|
||||
&& !callConnsDlg( state ) ) {
|
||||
break;
|
||||
} else if ( !stateToGameInfo( state ) ) {
|
||||
|
|
|
@ -48,7 +48,6 @@ typedef struct GameInfoState {
|
|||
XP_Bool prefsChanged;
|
||||
XP_Bool colorsChanged;
|
||||
XP_Bool addrChanged;
|
||||
XP_Bool connsComplete;
|
||||
CePrefsPrefs prefsPrefs;
|
||||
|
||||
/* Support for repositioning lower items based on num players */
|
||||
|
|
Loading…
Reference in a new issue