Changeset 9606 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 29, 2006, 12:00:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9605 r9606 213 213 if( SharedNetworkData::getInstance()->isMasterServer() && (*it)->checkPermission( PERMISSION_MASTER_SERVER )) 214 214 hasPermission = true; 215 else if( SharedNetworkData::getInstance()->isMasterServer() && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER )) 215 else if( SharedNetworkData::getInstance()->isMasterServer() && this->networkStream->isUserLocal(userId) && 216 this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER )) 216 217 hasPermission = true; 217 218 … … 219 220 else if( SharedNetworkData::getInstance()->isProxyServerActive() && (*it)->checkPermission( PERMISSION_PROXY_SERVER )) 220 221 hasPermission = true; 221 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER )) 222 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserLocal(userId) && 223 this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER )) 222 224 hasPermission = true; 223 225 // PROXY_SERVER |====> MASTER_SERVER
Note: See TracChangeset
for help on using the changeset viewer.