- Timestamp:
- Oct 22, 2005, 4:26:00 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r5335 r5423 266 266 if (!ResourceManager::getInstance()->setDataDir(dataPath)) 267 267 { 268 PRINTF(1)("Data Could not be located\n"); 269 exit(-1); 268 PRINTF(1)("Data Could not be located in %s\n", dataPath); 270 269 } 271 270 } -
trunk/src/util/resource_manager.cc
r5422 r5423 58 58 this->setName("ResourceManager"); 59 59 60 this->dataDir = NULL; 60 this->dataDir = new char[3]; 61 strcpy(this->dataDir, "./"); 61 62 this->setDataDir("./data"); 62 63 this->imageDirs = new tList<char>;
Note: See TracChangeset
for help on using the changeset viewer.