From 29621ec4d12f32d390b578c52ba0b36e83ceae01 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 15 Jun 2006 12:39:54 +0000 Subject: [PATCH] Run server after gameinfo dialog dismissed in case a player's become a robot. --- wince/cemain.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wince/cemain.c b/wince/cemain.c index 7b41e8343..021936091 100755 --- a/wince/cemain.c +++ b/wince/cemain.c @@ -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;