Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2007, 12:50:56 PM (17 years ago)
Author:
nicolasc
Message:

xfer, WFM…

Location:
branches/vs-enhencements/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/weapons/weapon_manager.cc

    r10678 r10692  
    319319  this->slotConfigs[slotID]->setWeapon(weapon, configID);
    320320  weapon->setAmmoContainer(this->getAmmoContainer(weapon->getProjectileType()));
    321 //   if(configID == this->currentConfigID)
    322 //     this->slotConfigs[slotID]->setNextWeapon(weapon);
     321  if(configID == this->currentConfigID)
     322    this->slotConfigs[slotID]->setNextWeapon(configID);
    323323  //if (this->parent != NULL)
    324324  {
  • branches/vs-enhencements/src/world_entities/weapons/weapon_slot.cc

    r10676 r10692  
    6868
    6969  LoadParam(root, "addWeapon", this, WeaponSlot, addWeapon)
    70   .describe("create a new Weapon, and add it to config");
     70  .describe("create a new Weapon, and add it to config")
     71  .defaultValues("", 0);
    7172}
    7273
Note: See TracChangeset for help on using the changeset viewer.