Changeset 8316
- Timestamp:
- Apr 23, 2011, 11:37:10 PM (14 years ago)
- Location:
- code/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/command/ConsoleCommand.cc
r7861 r8316 581 581 ConsoleCommand& ConsoleCommand::changeKeybindMode(KeybindMode::Value mode) 582 582 { 583 KeyBinderManager::getInstance().getCurrent()->changeMode(this, mode); 583 if( KeyBinderManager::exists() ) 584 KeyBinderManager::getInstance().getCurrent()->changeMode(this, mode); 584 585 585 586 this->keybindMode(mode); -
code/trunk/src/orxonox/controllers/NewHumanController.cc
r7859 r8316 356 356 this->currentPitch_ = 0; 357 357 358 KeyBinderManager::getInstance().getCurrent()->resetMouseAxes(); 358 if( KeyBinderManager::exists() ) 359 KeyBinderManager::getInstance().getCurrent()->resetMouseAxes(); 359 360 } 360 361
Note: See TracChangeset
for help on using the changeset viewer.