remove unused parameter

This commit is contained in:
ehouse 2009-12-04 07:59:07 +00:00
parent 7ad59e3e2b
commit 337c36dfd2
2 changed files with 5 additions and 6 deletions

View file

@ -154,8 +154,8 @@ CRefMgr::FindOpenGameFor( const char* cookie, const char* connName,
__func__ );
*alreadyHere = true;
found = cref;
} else if ( cref->GameOpen( cookie, nPlayersH,
false, alreadyHere ) ) {
} else if ( cref->GameOpen( cookie, false,
alreadyHere ) ) {
found = cref;
} else {
/* drop if we match on connName and it's not
@ -182,8 +182,8 @@ CRefMgr::FindOpenGameFor( const char* cookie, const char* connName,
if ( cref->SeedsBelong( connName ) ) {
found = cref;
}
} else if ( cref->GameOpen( cookie, nPlayersH,
true, alreadyHere ) ) {
} else if ( cref->GameOpen( cookie, true,
alreadyHere ) ) {
found = cref;
} else if ( cref->HasSocket_locked(socket) ) {
logf( XW_LOGINFO, "%s: HasSocket case", __func__);

View file

@ -189,8 +189,7 @@ class SafeCref {
bool Connect( int socket, HostID srcID, int nPlayersH, int nPlayersS,
int seed ) {
if ( IsValid() ) {
m_cref->_Connect( socket, srcID, nPlayersH, nPlayersS, seed );
return true;
return m_cref->_Connect( socket, srcID, nPlayersH, nPlayersS, seed );
} else {
return false;
}