some cleanup - removed a few warnings, + started input refactor : input events really have no reason to go through a menu class when in-game. Starting to rework the code so they're disptached directly to the right location

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-03-17 00:01:56 +00:00
parent a7295bde70
commit 59d55bc324

View File

@ -467,9 +467,6 @@ void SDLDriver::input(Input::InputType type, int id0, int id1, int id2,
}
else
{
RaceGUI* menu = getRaceGUI(); // FIXME - input is handled in menu class??
if(menu == NULL) return;
GameAction ga = m_action_map->getEntry(type, id0, id1, id2);
// Act different in input sensing mode.
if (m_mode >= INPUT_SENSE_PREFER_AXIS &&