Don't force conns dialog open on new game.

This commit is contained in:
ehouse 2009-09-17 03:48:45 +00:00
parent 1117e76f64
commit 048dccebae
2 changed files with 2 additions and 3 deletions

View file

@ -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 ) ) {

View file

@ -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 */