Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 27, 2006, 12:10:08 PM (18 years ago)
Author:
patrick
Message:

team id is supported

File:
1 edited

Legend:

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

    r9494 r9499  
    233233bool NetworkGameManager::preferedTeamHandler( MessageId messageId, byte * data, int dataLength, void * someData, int userId )
    234234{
    235   assert( SharedNetworkData::getInstance()->isMasterServer() ||  SharedNetworkData::getInstance()->isProxyServerActive());
     235  assert( SharedNetworkData::getInstance()->isMasterServer() /*||  SharedNetworkData::getInstance()->isProxyServerActive()*/);
    236236
    237237  int teamId = 0;
     
    249249}
    250250
     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 */
    251257void NetworkGameManager::setPreferedTeam( int userId, int teamId )
    252258{
     
    258264  stats.setPreferedTeamId( teamId );
    259265}
     266
    260267
    261268/**
Note: See TracChangeset for help on using the changeset viewer.