Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2006, 3:03:15 PM (18 years ago)
Author:
patrick
Message:

the network mode shoudl support kills again

File:
1 edited

Legend:

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

    r9647 r9650  
    277277  printf("::::::::::::::::: TEAM ::: %d\n", teamID);
    278278  if (teamID == 0)
     279  {
    279280    this->setBoostColor(Color::blue);
     281  }
    280282  else if (teamID == 1)
     283  {
    281284    this->setBoostColor(Color::red);
    282 
     285  }
     286
     287  ///HACK this is very much hard coded.set the owner of the weapons
     288  this->getWeaponManager().getWeapon(0)->setOwner(/*SharedNetworkData::getInstance()->getHostID()*/ this->getOwner());
     289  this->getWeaponManager().getWeapon(1)->setOwner(/*SharedNetworkData::getInstance()->getHostID()*/this->getOwner());
    283290
    284291  //choose collision list
     
    290297      toList( OM_GROUP_01);
    291298  }
     299
    292300
    293301  // set the local team id, very important
Note: See TracChangeset for help on using the changeset viewer.