Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9594 in orxonox.OLD for branches/proxy/src/lib/network


Ignore:
Timestamp:
Jul 29, 2006, 12:23:00 AM (18 years ago)
Author:
patrick
Message:

the team id is set correctly again at least for locals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/synchronizeable.cc

    r9593 r9594  
    411411
    412412    //  *              <====|  PROXY_SERVER
    413     else if( this->networkStream->isUserProxyServerActive( userId )  && (*it)->checkPermission( PERMISSION_MASTER_SERVER )
    414              && SharedNetworkData::getInstance()->isClient())
    415       hasPermission = true;
    416413    else if( this->networkStream->isUserProxyServerActive( userId ) && this->owner != SharedNetworkData::getInstance()->getHostID()
    417414             && (*it)->checkPermission( PERMISSION_OWNER ))
    418415      hasPermission = true;
    419 
    420416    //  CLIENT         <====|  PROXY_SERVER
    421417    else if( this->networkStream->isUserProxyServerActive( userId ) && SharedNetworkData::getInstance()->isClient()
     
    424420    else if( this->networkStream->isUserProxyServerActive( userId ) && SharedNetworkData::getInstance()->isClient()
    425421             && this->owner != SharedNetworkData::getInstance()->getHostID() && (*it)->checkPermission( PERMISSION_MASTER_SERVER ))
     422      hasPermission = true;
     423    else if( this->networkStream->isUserProxyServerActive( userId )  && SharedNetworkData::getInstance()->isClient()
     424             && (*it)->checkPermission( PERMISSION_MASTER_SERVER ))
    426425      hasPermission = true;
    427426    // MASTER_SERVER   <====|  PROXY_SERVER
Note: See TracChangeset for help on using the changeset viewer.