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/core/input/KeyBinder.cc

    r8351 r8366  
    253253        COUT(3) << "KeyBinder: Loading key bindings..." << std::endl;
    254254
    255         this->configFile_ = new ConfigFile(this->filename_, !PathConfig::isDevelopmentRun());
     255        this->configFile_ = new ConfigFile(this->filename_, !PathConfig::buildDirectoryRun());
    256256        this->configFile_->load();
    257257
    258         if (PathConfig::isDevelopmentRun())
     258        if (PathConfig::buildDirectoryRun())
    259259        {
    260260            // Dev users should have combined key bindings files
     
    287287            addButtonToCommand(binding, it->second);
    288288            std::string str = binding;
    289             if (PathConfig::isDevelopmentRun() && binding.empty())
     289            if (PathConfig::buildDirectoryRun() && binding.empty())
    290290                str = "NoBinding";
    291291            it->second->setBinding(this->configFile_, this->fallbackConfigFile_, binding, bTemporary);
Note: See TracChangeset for help on using the changeset viewer.