mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
draw after robot move; fix error opening saved game in STUB_DICT build
This commit is contained in:
parent
aea4964feb
commit
5ffb365510
1 changed files with 5 additions and 1 deletions
|
@ -1014,7 +1014,11 @@ ceSaveCurGame( CEAppGlobals* globals, XP_Bool autoSave )
|
|||
|
||||
/* the dictionary */
|
||||
dict = model_getDictionary( globals->game.model );
|
||||
#ifdef STUBBED_DICT /* don't check this in!!! */
|
||||
dictName = NULL;
|
||||
#else
|
||||
dictName = !!dict? dict_getName( dict ) : NULL;
|
||||
#endif
|
||||
stream_putU8( memStream, (XP_U8)!!dictName );
|
||||
if ( !!dictName ) {
|
||||
stringToStream( memStream, dictName );
|
||||
|
@ -1229,7 +1233,7 @@ WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
|
||||
case XWWM_TIME_RQST:
|
||||
server_do( globals->game.server );
|
||||
draw = server_do( globals->game.server );
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue