Changeset 9880 in orxonox.OLD for trunk/src/orxonox.cc
- Timestamp:
- Oct 10, 2006, 3:42:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r9869 r9880 337 337 338 338 // init the resource manager 339 std::string dataPath ;340 if ( (dataPath = Preferences::getInstance()->getString(CONFIG_SECTION_GENERAL, CONFIG_NAME_DATADIR, ""))!= "")339 std::string dataPath = Preferences::getInstance()->getString(CONFIG_SECTION_GENERAL, CONFIG_NAME_DATADIR, ""); 340 if (dataPath!= "") 341 341 { 342 342 Resources::ResourceManager::getInstance()->setMainGlobalPath(dataPath) ;
Note: See TracChangeset
for help on using the changeset viewer.