Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8316 for code/trunk


Ignore:
Timestamp:
Apr 23, 2011, 11:37:10 PM (14 years ago)
Author:
scheusso
Message:

fix for dedicated Client

Location:
code/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/command/ConsoleCommand.cc

    r7861 r8316  
    581581    ConsoleCommand& ConsoleCommand::changeKeybindMode(KeybindMode::Value mode)
    582582    {
    583         KeyBinderManager::getInstance().getCurrent()->changeMode(this, mode);
     583        if( KeyBinderManager::exists() )
     584            KeyBinderManager::getInstance().getCurrent()->changeMode(this, mode);
    584585
    585586        this->keybindMode(mode);
  • code/trunk/src/orxonox/controllers/NewHumanController.cc

    r7859 r8316  
    356356        this->currentPitch_ = 0;
    357357
    358         KeyBinderManager::getInstance().getCurrent()->resetMouseAxes();
     358        if( KeyBinderManager::exists() )
     359            KeyBinderManager::getInstance().getCurrent()->resetMouseAxes();
    359360    }
    360361
Note: See TracChangeset for help on using the changeset viewer.