mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-25 09:58:11 +01:00
Don't call comms_setAddr every time prefs is opened. Comms and wince
networking are getting confused.
This commit is contained in:
parent
01e50f51b7
commit
350220645a
1 changed files with 0 additions and 9 deletions
|
@ -189,15 +189,6 @@ loadCurPrefsFromState( CEAppGlobals* XP_UNUSED_STANDALONE(globals),
|
|||
XP_MEMCPY( &appPrefs->cp, &prefsPrefs->cp, sizeof(appPrefs->cp) );
|
||||
XP_MEMCPY( &appPrefs->colors, &prefsPrefs->colors,
|
||||
sizeof(prefsPrefs->colors) );
|
||||
|
||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||
/* I don't think this'll work... */
|
||||
if ( globals->game.comms != NULL ) {
|
||||
comms_setAddr( globals->game.comms, &prefsPrefs->addrRec );
|
||||
} else {
|
||||
XP_LOGF( "no comms to set addr on!!!" );
|
||||
}
|
||||
#endif
|
||||
} /* loadCurPrefsFromState */
|
||||
|
||||
/* Reflect local state into the controls user will see.
|
||||
|
|
Loading…
Reference in a new issue