Changeset 7370 in orxonox.OLD for trunk/src/world_entities/power_ups
- Timestamp:
- Apr 26, 2006, 1:31:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/weapon_power_up.cc
r7221 r7370 88 88 this->weapon = dynamic_cast<Weapon*>((weaponXML == NULL) 89 89 ? Factory::fabricate(static_cast<ClassID>(this->weapon->getLeafClassID())) 90 : Factory::fabricate(( TiXmlElement*)this->getXmlElem()->FirstChildElement("weapon")));90 : Factory::fabricate((const TiXmlElement*)this->getXmlElem()->FirstChildElement("weapon"))); 91 91 this->model = this->weapon->getModel(0); 92 92 }
Note: See TracChangeset
for help on using the changeset viewer.