Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9466 in orxonox.OLD for branches/proxy/src/lib


Ignore:
Timestamp:
Jul 25, 2006, 8:30:40 PM (18 years ago)
Author:
patrick
Message:

testing around with permissions: proxy should be able to handle a handshake and its local client and not more

Location:
branches/proxy/src/lib/network
Files:
2 edited

Legend:

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

    r9452 r9466  
    191191void PlayerStats::setNickName( std::string nick )
    192192{
    193   if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive() )
     193  if ( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/ )
    194194  {
    195195    this->nickName = nick;
  • branches/proxy/src/lib/network/synchronizeable.cc

    r9459 r9466  
    7272    this->networkStream->disconnectSynchronizeable(*this);
    7373
    74     if ( (SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive() )
     74    if ( (SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/ )
    7575           && this->beSynchronized() && this->getUniqueID() > 0 && !this->isA( CL_MESSAGE_MANAGER ) )
    7676      NetworkGameManager::getInstance()->removeSynchronizeable( this->getUniqueID() );
Note: See TracChangeset for help on using the changeset viewer.