Changeset 10692 in orxonox.OLD for branches/vs-enhencements/src/world_entities/weapons
- Timestamp:
- Jun 14, 2007, 12:50:56 PM (18 years ago)
- 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 319 319 this->slotConfigs[slotID]->setWeapon(weapon, configID); 320 320 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); 323 323 //if (this->parent != NULL) 324 324 { -
branches/vs-enhencements/src/world_entities/weapons/weapon_slot.cc
r10676 r10692 68 68 69 69 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); 71 72 } 72 73
Note: See TracChangeset
for help on using the changeset viewer.