Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10240 in orxonox.OLD for branches/mount_points/src/world_entities


Ignore:
Timestamp:
Jan 16, 2007, 11:04:11 PM (18 years ago)
Author:
patrick
Message:

not checkinf for invalid xml files. runs again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/world_entities/mount_point.cc

    r10239 r10240  
    7070void MountPoint::initMountPoint(const TiXmlElement* root)
    7171{
     72  if( root == NULL)
     73  {
     74    PRINTF(1)("MountPoint - initialization failed, since I got no valid xml element\n");
     75    return;
     76  }
     77  // now get the first element
    7278  const TiXmlElement* element = root->FirstChildElement("MountPoints");
    7379  if( element == NULL)
Note: See TracChangeset for help on using the changeset viewer.