Changeset 10684 in orxonox.OLD for branches/vs-enhencements/src/world_entities/space_ships
- Timestamp:
- Jun 11, 2007, 11:30:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc
r10678 r10684 175 175 176 176 177 //this->weaponMan.addWeaponToSlot(0, 0, "RFCannon");178 //this->weaponMan.addWeaponToSlot(0, 1, "RFCannon");179 //this->weaponMan.addWeaponToSlot(0, 2, "RFCannon");180 //this->weaponMan.addWeaponToSlot(0, 3, "RFCannon");181 //this->weaponMan.addWeaponToSlot(1, 0, "RFCannon");182 //this->weaponMan.addWeaponToSlot(1, 1, "RFCannon");183 //this->weaponMan.addWeaponToSlot(1, 2, "RFCannon");184 //this->weaponMan.addWeaponToSlot(1, 3, "RFCannon");177 this->weaponMan.addWeaponToSlot(0, 0, "RFCannon"); 178 this->weaponMan.addWeaponToSlot(0, 1, "RFCannon"); 179 this->weaponMan.addWeaponToSlot(0, 2, "RFCannon"); 180 this->weaponMan.addWeaponToSlot(0, 3, "RFCannon"); 181 this->weaponMan.addWeaponToSlot(1, 0, "RFCannon"); 182 this->weaponMan.addWeaponToSlot(1, 1, "RFCannon"); 183 this->weaponMan.addWeaponToSlot(1, 2, "RFCannon"); 184 this->weaponMan.addWeaponToSlot(1, 3, "RFCannon"); 185 185 186 186 this->weaponMan.addWeaponToSlot(0, 4, "NadionLaser"); … … 462 462 { 463 463 int slot = ws->getWeaponSlot(); 464 //int side = ws->getWeaponSide(); //FIXME / REMOVE: is not used// HACK needed for some weapons (left/right)464 int side = ws->getWeaponSide(); //FIXME / REMOVE: is not used// HACK needed for some weapons (left/right) 465 465 this->getWeaponManager().setSlotPosition(slot, (*it).second->getCenter()); 466 466 this->getWeaponManager().setSlotDirection(slot, ws->getRelDir());
Note: See TracChangeset
for help on using the changeset viewer.