Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2006, 1:09:05 PM (17 years ago)
Author:
marcscha
Message:

Deactivate Fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/space_ships/space_ship.cc

    r10120 r10121  
    144144  this->registerObject(this, SpaceShip::_objectList);
    145145  PRINTF(4)("SPACESHIP INIT\n");
    146 
     146  this->weaponMan.setParentEntity( this);
    147147  //weapons:
    148148 
     
    175175  this->weaponMan.addWeapon( wpLeft1, 0, 0);
    176176  this->weaponMan.addWeapon( wpRight1, 0, 1);
    177   this->weaponMan.addWeapon( wpLeft2, 1, 0);
    178   this->weaponMan.addWeapon( wpRight2, 1, 1);
    179   this->weaponMan.addWeapon( wpLeft3, 2, 0);
    180   this->weaponMan.addWeapon( wpRight3, 2, 1);
     177
     178  this->weaponMan.addWeapon( wpLeft2, 1, 2);
     179  this->weaponMan.addWeapon( wpRight2, 1, 3);
     180
     181  this->weaponMan.addWeapon( wpLeft3, 2, 4);
     182  this->weaponMan.addWeapon( wpRight3, 2, 5);
    181183
    182184  this->secWeaponMan.addWeapon( cannon, 0, 0);
    183185
    184 /*
    185   wpRight1->requestAction(WA_ACTIVATE);
    186   wpLeft1->requestAction(WA_ACTIVATE);
    187 
    188   wpRight2->requestAction(WA_ACTIVATE);
    189   wpLeft2->requestAction(WA_ACTIVATE);
    190   wpRight3->requestAction(WA_ACTIVATE);
    191   wpLeft3->requestAction(WA_ACTIVATE);
    192 
    193   cannon->requestAction(WA_ACTIVATE);
    194 */
    195186 
    196187  this->weaponMan.changeWeaponConfig(1);
Note: See TracChangeset for help on using the changeset viewer.