- Timestamp:
- Jan 27, 2007, 7:37:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10409 r10411 63 63 BaseObject::loadParams(root); 64 64 const TiXmlElement* camerasTag = root->FirstChildElement("Cameras"); 65 66 LOAD_PARAM_START_CYCLE(camerasTag, object); 67 { 68 this->createCam(object); 69 } 70 LOAD_PARAM_END_CYCLE(object); 65 if( camerasTag != NULL) 66 { 67 LOAD_PARAM_START_CYCLE(camerasTag, object); 68 { 69 this->createCam(object); 70 } 71 LOAD_PARAM_END_CYCLE(object); 72 } 71 73 72 74 } … … 169 171 BaseObject* object = ObjectListBase::getBaseObject(className, targetEntity); 170 172 171 if(object != NULL) 173 if(object != NULL) 172 174 { 173 175 this->atachCurrTarget(dynamic_cast<PNode*>(object));
Note: See TracChangeset
for help on using the changeset viewer.