Add the ALL_HERE alert to the set not duplicated.

This commit is contained in:
ehouse 2009-12-27 19:04:29 +00:00
parent 378d02f1f5
commit d5e641ee52
2 changed files with 6 additions and 4 deletions

View file

@ -1705,12 +1705,12 @@ ceFlattenState( const CEAppGlobals* globals )
} else {
switch( socketState ) {
case CE_IPST_START:
/* state = CENSTATE_NONE; */
break;
#ifdef _WIN32_WCE
case CE_IPST_OPENING_NETWORK:
case CE_IPST_NETWORK_OPENED:
#endif
/* state = CENSTATE_NONE; */
break;
case CE_IPST_RESOLVINGHOST:
case CE_IPST_HOSTRESOLVED:
case CE_IPST_CONNECTING:
@ -3196,6 +3196,7 @@ ce_relay_connd( void* closure, XP_Bool allHere, XP_U16 nMissing )
if ( allHere ) {
strID = IDS_RELAY_ALLHERE;
bit = SAB_ALL_HERE;
} else {
DeviceRole role = globals->gameInfo.serverRole;
if ( role == SERVER_ISSERVER ) {

View file

@ -96,8 +96,9 @@ typedef enum {
,SAB_NETFAILED = 1 << 1
,SAB_HOST_CONND = 1 << 2
,SAB_CLIENT_CONND = 1 << 3
,SAB_HEART_YOU = 1 << 4
,SAB_HEART_OTHER = 1 << 5
,SAB_ALL_HERE = 1 << 4
,SAB_HEART_YOU = 1 << 5
,SAB_HEART_OTHER = 1 << 6
} SkipAlertBits;
typedef struct CEAppPrefs {