Changeset 5982 in orxonox.OLD for trunk/src/world_entities/weapons/ground_turret.cc
- Timestamp:
- Dec 8, 2005, 12:22:53 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/ground_turret.cc
r5915 r5982 85 85 element = root->FirstChildElement("weapon-left"); 86 86 if (element != NULL) element = element->FirstChildElement(); 87 this->left = dynamic_cast<Weapon*>( Factory:: getFirst()->fabricate( element) );87 this->left = dynamic_cast<Weapon*>( Factory::fabricate( element) ); 88 88 if (this->left) 89 89 { … … 94 94 element = root->FirstChildElement("weapon-right"); 95 95 if (element != NULL) if (element != NULL) element = element->FirstChildElement(); 96 this->right = dynamic_cast<Weapon*>( Factory:: getFirst()->fabricate( element) );96 this->right = dynamic_cast<Weapon*>( Factory::fabricate( element) ); 97 97 if (this->right) 98 98 {
Note: See TracChangeset
for help on using the changeset viewer.