Changeset 5644 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Nov 19, 2005, 5:08:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r5441 r5644 122 122 .describe("how many slots(cannons) the WeaponManager can handle"); 123 123 124 LOAD_PARAM_START_CYCLE ;124 LOAD_PARAM_START_CYCLE(root, element); 125 125 126 126 LoadParam<WeaponManager>(element, "weapons", this, &WeaponManager::loadWeapons) … … 128 128 // LoadParam<WeaponManager>(root, "Weapon", this, &WeaponManager::addWeapon); 129 129 130 LOAD_PARAM_END_CYCLE ;130 LOAD_PARAM_END_CYCLE(element); 131 131 } 132 132 … … 137 137 void WeaponManager::loadWeapons(const TiXmlElement* root) 138 138 { 139 LOAD_PARAM_START_CYCLE ;139 LOAD_PARAM_START_CYCLE(root, element); 140 140 141 141 Weapon* newWeapon = dynamic_cast<Weapon*>(Factory::getFirst()->fabricate(element)); … … 143 143 144 144 145 LOAD_PARAM_END_CYCLE ;145 LOAD_PARAM_END_CYCLE(element); 146 146 } 147 147
Note: See TracChangeset
for help on using the changeset viewer.