Run server after gameinfo dialog dismissed in case a player's become a robot.

This commit is contained in:
ehouse 2006-06-15 12:39:54 +00:00
parent a4ac6f9ff4
commit 77793e31b8

View file

@ -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;