Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2009, 11:08:50 PM (15 years ago)
Author:
rgrieder
Message:

Heavy clean up in the InputManager; not many real code changes though.
And temporary hack-fixed a problem in the Keybinder with std::vector.reserve(1000) ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/orxonox/gamestates/GSGraphics.cc

    r3274 r3279  
    150150
    151151        // enable master input
    152         InputManager::getInstance().requestEnterState("master");
     152        InputManager::getInstance().enterState("master");
    153153    }
    154154
     
    170170
    171171        masterInputState_->setHandler(0);
    172         InputManager::getInstance().requestDestroyState("master");
     172        InputManager::getInstance().destroyState("master");
    173173        delete this->masterKeyBinder_;
    174174
Note: See TracChangeset for help on using the changeset viewer.