Changeset 5679 for code/branches/resource3/src/orxonox/objects
- Timestamp:
- Aug 24, 2009, 8:17:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource3/src/orxonox/objects/Level.cc
r3325 r5679 54 54 this->xmlfilename_ = this->getFilename(); 55 55 56 if (this->xmlfilename_.length() >= Core::get MediaPathString().length())57 this->xmlfilename_ = this->xmlfilename_.substr(Core::get MediaPathString().length());56 if (this->xmlfilename_.length() >= Core::getExternalMediaPathString().length()) 57 this->xmlfilename_ = this->xmlfilename_.substr(Core::getExternalMediaPathString().length()); 58 58 } 59 59 … … 101 101 mask.include(Class(OverlayGroup)); // HACK to include the ChatOverlay 102 102 103 this->xmlfile_ = new XMLFile(Core::get MediaPathString() + this->xmlfilename_, mask);103 this->xmlfile_ = new XMLFile(Core::getExternalMediaPathString() + this->xmlfilename_, mask); 104 104 105 105 Loader::open(this->xmlfile_);
Note: See TracChangeset
for help on using the changeset viewer.