Changeset 10719 in orxonox.OLD for branches/presentation/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Jun 18, 2007, 6:02:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/weapon_manager.h
r10714 r10719 86 86 87 87 inline void addWeaponToSlot(int config, int slot, const std::string& weaponName){ 88 this->addWeapon( Weapon::createWeapon( weaponName ), config, slot); };88 this->addWeapon( Weapon::createWeapon( weaponName ), config, slot); this->configs[config][slot]->setDefaultTarget(this->getFixedTarget()); }; 89 89 90 90
Note: See TracChangeset
for help on using the changeset viewer.