Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2007, 11:30:56 AM (18 years ago)
Author:
nicolasc
Message:

some hack, but still does not work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc

    r10678 r10684  
    175175
    176176
    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");
    185185
    186186  this->weaponMan.addWeaponToSlot(0, 4, "NadionLaser");
     
    462462      {
    463463        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)
    465465        this->getWeaponManager().setSlotPosition(slot, (*it).second->getCenter());
    466466        this->getWeaponManager().setSlotDirection(slot, ws->getRelDir());
Note: See TracChangeset for help on using the changeset viewer.