Changeset 9499 in orxonox.OLD for branches/proxy/src
- Timestamp:
- Jul 27, 2006, 12:10:08 PM (18 years ago)
- Location:
- branches/proxy/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_game_manager.cc
r9494 r9499 233 233 bool NetworkGameManager::preferedTeamHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId ) 234 234 { 235 assert( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServerActive());235 assert( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/); 236 236 237 237 int teamId = 0; … … 249 249 } 250 250 251 252 /** 253 * this actualy sets the new prefered team id 254 * @param userId: the user that changes team 255 * @param teamId: the new team id for the user 256 */ 251 257 void NetworkGameManager::setPreferedTeam( int userId, int teamId ) 252 258 { … … 258 264 stats.setPreferedTeamId( teamId ); 259 265 } 266 260 267 261 268 /** -
branches/proxy/src/world_entities/playable.h
r9406 r9499 72 72 void setPlayDirection(float angle, float dirX, float dirY, float dirZ, float speed = 0.0f); 73 73 74 // Networking interface 74 75 inline void setScore( int score ) { this->score = score; } 75 76 inline int getScore() { return this->score; } 77 virtual void setTeam(int teamId) {} 76 78 77 79 void setEnterRadius(float radius) { this->enterRadius = radius; };
Note: See TracChangeset
for help on using the changeset viewer.