Changeset 7979 in orxonox.OLD for branches/network
- Timestamp:
- May 30, 2006, 1:47:41 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/player_stats.h
r7974 r7979 40 40 void setPlayableUniqueId( int uniqueId ); 41 41 42 inline std::string getModelFileName(){ return modelFileName; } 43 inline void setModelFileName( std::string filename ){ modelFileName = filename; } 44 42 45 Playable * getPlayable(); 43 46 -
branches/network/src/lib/network/synchronizeable.cc
r7954 r7979 175 175 this->isServer() && (*it)->checkPermission( PERMISSION_SERVER ) || 176 176 this->owner == this->hostID && (*it)->checkPermission( PERMISSION_OWNER ) || 177 this->isServer() && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER ) || 177 178 (*it)->checkPermission( PERMISSION_ALL ) 178 179 ); … … 289 290 (*it)->checkPermission( PERMISSION_SERVER ) && networkStream->isUserServer( userId ) || 290 291 (*it)->checkPermission( PERMISSION_OWNER ) && this->owner == userId || 292 networkStream->isUserServer( userId ) && this->owner != getHostID() && (*it)->checkPermission( PERMISSION_OWNER ) || 291 293 (*it)->checkPermission( PERMISSION_ALL ) 292 294 )
Note: See TracChangeset
for help on using the changeset viewer.