Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3983 in orxonox.OLD for orxonox/trunk/src/util/resource_manager.cc


Ignore:
Timestamp:
Apr 26, 2005, 3:33:06 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: resource now also gets loaded if the data-directory is not where it is supposed to be… this will be better in the future (i hope)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/resource_manager.cc

    r3883 r3983  
    9292      this->dataDir = new char[strlen(dataDir)+1];
    9393      strcpy(this->dataDir, dataDir);
     94      return true;
    9495    }
    9596  else
    9697    {
    9798      PRINTF(1)("%s is not a Directory, and can not be the Data Directory, leaving as %s \n", dataDir, this->dataDir);
     99      return false;
    98100    }
    99101}
Note: See TracChangeset for help on using the changeset viewer.