Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 27, 2006, 12:54:39 PM (18 years ago)
Author:
patrick
Message:
  • removing entities from the network works now also on proxies.
  • player team change is handled differently now: handler function
  • there was a chronological error in the change team function call stack
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/util/multiplayer_team_deathmatch.cc

    r9500 r9504  
    503503  playable.loadMD2Texture( playableTexture );
    504504  playable.loadModel( playableModel, playableScale );
    505   playable.setTeam(stats.getPreferedTeamId());
    506505  playable.setOwner( userId );
    507506  playable.setUniqueID( SharedNetworkData::getInstance()->getNewUniqueID() );
    508507  playable.setSynchronized( true );
    509508
    510   stats.setTeamId( stats.getPreferedTeamId() );
    511509  stats.setPlayableClassId( playableClassId );
    512510  stats.setPlayableUniqueId( playable.getUniqueID() );
    513511  stats.setModelFileName( playableModel );
     512  stats.setTeamId( stats.getPreferedTeamId() );
     513
     514  playable.setTeam(stats.getPreferedTeamId());
     515
    514516
    515517  this->respawnPlayable( &playable, stats.getPreferedTeamId(), 0.0f );
Note: See TracChangeset for help on using the changeset viewer.