Changeset 2702 for code/branches/buildsystem3/src/orxonox/objects
- Timestamp:
- Feb 27, 2009, 2:13:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/orxonox/objects/Level.cc
r2685 r2702 55 55 this->xmlfilename_ = this->getFilename(); 56 56 57 if (this->xmlfilename_.length() >= Core::getMediaPath ().length())58 this->xmlfilename_ = this->xmlfilename_.substr(Core::getMediaPath ().length());57 if (this->xmlfilename_.length() >= Core::getMediaPathString().length()) 58 this->xmlfilename_ = this->xmlfilename_.substr(Core::getMediaPathString().length()); 59 59 } 60 60 … … 97 97 mask.include(Class(OverlayGroup)); // HACK to include the ChatOverlay 98 98 99 this->xmlfile_ = new XMLFile(Core::getMediaPath () + this->xmlfilename_, mask);99 this->xmlfile_ = new XMLFile(Core::getMediaPathString() + this->xmlfilename_, mask); 100 100 101 101 Loader::open(this->xmlfile_);
Note: See TracChangeset
for help on using the changeset viewer.