Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2011, 9:31:02 PM (13 years ago)
Author:
rgrieder
Message:

Renamed PathConfig::isDevelopmentRun() to PathConfig::buildDirectoryRun() because that fits better and there is no confusion with Core::inDevMode().
Also used isDevelopmentRun() as default value for Core::inDevMode() instead of ORXONOX_RELEASE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/tools/ResourceLocation.cc

    r8079 r8366  
    7676        if (bf::exists(PathConfig::getDataPath() / this->getPath()))
    7777            path = PathConfig::getDataPath() / this->getPath();
    78         else if (PathConfig::isDevelopmentRun() && bf::exists(PathConfig::getExternalDataPath() / this->getPath()))
     78        else if (PathConfig::buildDirectoryRun() && bf::exists(PathConfig::getExternalDataPath() / this->getPath()))
    7979            path = PathConfig::getExternalDataPath() / this->getPath();
    8080        else
Note: See TracChangeset for help on using the changeset viewer.