Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2008, 4:16:45 PM (17 years ago)
Author:
rgrieder
Message:
  • hackfix for the SpaceShip
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merge/src/core/InputManager.cc

    r1285 r1288  
    382382          activeKeyHandlers_.push_back(keyHandlers_["keybinder"]);
    383383          activeMouseHandlers_.push_back(mouseHandlers_["keybinder"]);
    384           activeMouseHandlers_.push_back(mouseHandlers_["SpaceShip"]);
     384          if (getMouseHandler("SpaceShip"))
     385            activeMouseHandlers_.push_back(mouseHandlers_["SpaceShip"]);
    385386          for (unsigned int i = 0; i < joySticksSize_; i++)
    386387            activeJoyStickHandlers_[i].push_back(joyStickHandlers_["keybinder"]);
     
    393394        case IS_CONSOLE:
    394395          activeMouseHandlers_.push_back(mouseHandlers_["keybinder"]);
    395           activeMouseHandlers_.push_back(mouseHandlers_["SpaceShip"]);
     396          if (getMouseHandler("SpaceShip"))
     397            activeMouseHandlers_.push_back(mouseHandlers_["SpaceShip"]);
    396398          for (unsigned int i = 0; i < joySticksSize_; i++)
    397399            activeJoyStickHandlers_[i].push_back(joyStickHandlers_["keybinder"]);
Note: See TracChangeset for help on using the changeset viewer.