Changeset 3269 for code/branches/core4/src/core
- Timestamp:
- Jul 1, 2009, 9:24:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/input/KeyBinder.cc
r3265 r3269 96 96 } 97 97 98 // Get a new ConfigFileType from the ConfigFileManager99 this->configFile_ = ConfigFile Manager::getInstance().getNewConfigFileType();98 // We might not even load any bindings at all (KeyDetector for instance) 99 this->configFile_ = ConfigFileType::NoType; 100 100 101 101 // initialise joy sticks separatly to allow for reloading … … 249 249 if (filename.empty()) 250 250 return; 251 252 if (this->configFile_ == ConfigFileType::NoType) 253 { 254 // Get a new ConfigFileType from the ConfigFileManager 255 this->configFile_ = ConfigFileManager::getInstance().getNewConfigFileType(); 256 } 251 257 252 258 ConfigFileManager::getInstance().setFilename(this->configFile_, filename);
Note: See TracChangeset
for help on using the changeset viewer.