Changeset 5986 in orxonox.OLD for branches/powerups
- Timestamp:
- Dec 8, 2005, 1:44:12 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/power_ups/weapon_power_up.cc
r5973 r5986 56 56 static_cast<PowerUp*>(this)->loadParams(root); 57 57 const TiXmlElement* elem = root->FirstChildElement("weapon"); 58 if(elem != NULL && (elem = weapon->getFirstChildElement()) != NULL)58 if(elem != NULL && (elem = elem->getFirstChildElement()) != NULL) 59 59 { 60 60 this->weaponXML = elem; … … 63 63 else 64 64 { 65 LoadParam(root, "weaponID", this, const char*, setWeaponClass);65 LoadParam(root, "weaponID", this, WeaponPowerUp, setWeaponClass); 66 66 } 67 67 }
Note: See TracChangeset
for help on using the changeset viewer.