Revert ProtoBuf to version 2.6.1 and running astyle
This commit is contained in:
@@ -258,14 +258,14 @@ SessionManager::IsGuestConnectedMultiple(const std::string &clientAddress) const
|
||||
|
||||
while (i != end) {
|
||||
boost::shared_ptr<PlayerData> tmpPlayer(i->second->GetPlayerData());
|
||||
// @XXX: productive:
|
||||
//if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){
|
||||
// @XXX: debug:
|
||||
// if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){
|
||||
if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){
|
||||
retVal = true;
|
||||
break;
|
||||
}
|
||||
// @XXX: productive:
|
||||
//if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress){
|
||||
// @XXX: debug:
|
||||
// if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_NORMAL && i->second->GetClientAddr() == clientAddress){
|
||||
if(tmpPlayer && tmpPlayer->GetRights() == PLAYER_RIGHTS_GUEST && i->second->GetClientAddr() == clientAddress) {
|
||||
retVal = true;
|
||||
break;
|
||||
}
|
||||
++i;
|
||||
}
|
||||
return retVal;
|
||||
|
||||
Reference in New Issue
Block a user