Changeset 9650 in orxonox.OLD for branches/proxy/src/world_entities/space_ships
- Timestamp:
- Jul 31, 2006, 3:03:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/space_ships/turbine_hover.cc
r9647 r9650 277 277 printf("::::::::::::::::: TEAM ::: %d\n", teamID); 278 278 if (teamID == 0) 279 { 279 280 this->setBoostColor(Color::blue); 281 } 280 282 else if (teamID == 1) 283 { 281 284 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()); 283 290 284 291 //choose collision list … … 290 297 toList( OM_GROUP_01); 291 298 } 299 292 300 293 301 // set the local team id, very important
Note: See TracChangeset
for help on using the changeset viewer.