Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9647 in orxonox.OLD for branches


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

there are now two team

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/space_ships/turbine_hover.cc

    r9643 r9647  
    281281    this->setBoostColor(Color::red);
    282282
     283
     284  //choose collision list
     285  if( State::isOnline())
     286  {
     287    if( teamID == 0)
     288      toList( OM_GROUP_00 );
     289    else if(teamID == 1)
     290      toList( OM_GROUP_01);
     291  }
     292
    283293  // set the local team id, very important
    284294  this->setTeamId(teamID);
     
    563573void TurbineHover::respawn( )
    564574{
    565   if( State::isOnline())
    566     toList( OM_PLAYERS );
    567 
    568 //   this->damageTicker = 0.0f;
    569575
    570576  Playable::respawn();
Note: See TracChangeset for help on using the changeset viewer.