Changeset 1182 for code/branches/input/src/orxonox/objects/SpaceShip.cc
- Timestamp:
- Apr 24, 2008, 9:40:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/objects/SpaceShip.cc
r1064 r1182 428 428 void SpaceShip::tick(float dt) 429 429 { 430 if (InputManager::get Singleton().getMouse()->getEventCallback() != this)431 { 432 if (InputManager::get Singleton().getMouse())430 if (InputManager::getMouse()->getEventCallback() != this) 431 { 432 if (InputManager::getMouse()) 433 433 { 434 InputManager::get Singleton().getMouse()->setEventCallback(this);434 InputManager::getMouse()->setEventCallback(this); 435 435 this->setMouseEventCallback_ = true; 436 436 } … … 457 457 } 458 458 459 OIS::Keyboard* mKeyboard = InputManager::get Singleton().getKeyboard();459 OIS::Keyboard* mKeyboard = InputManager::getKeyboard(); 460 460 //FIXME: variable never used 461 461 //OIS::Mouse* mMouse = InputManager::getSingleton().getMouse();
Note: See TracChangeset
for help on using the changeset viewer.