mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Run server after gameinfo dialog dismissed in case a player's become a robot.
This commit is contained in:
parent
a4ac6f9ff4
commit
77793e31b8
1 changed files with 4 additions and 5 deletions
|
@ -1880,16 +1880,15 @@ WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
XP_MEMSET( &state, 0, sizeof(state) );
|
||||
state.globals = globals;
|
||||
state.isNewGame = XP_FALSE;
|
||||
|
||||
DialogBoxParam(globals->hInst, (LPCTSTR)IDD_GAMEINFO, hWnd,
|
||||
(DLGPROC)GameInfo, (long)&state );
|
||||
|
||||
if ( !state.userCancelled && state.prefsChanged ) {
|
||||
/* need to update some prefs? */
|
||||
/* if ( state.colorsChanged ) { */
|
||||
if ( !state.userCancelled ) {
|
||||
if ( state.prefsChanged ) {
|
||||
updateForColors( globals );
|
||||
/* } */
|
||||
}
|
||||
draw = server_do( globals->game.server );
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue