Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8851 in orxonox.OLD for branches/multi_player_map/src


Ignore:
Timestamp:
Jun 28, 2006, 2:06:10 PM (18 years ago)
Author:
rennerc
Message:

chat window is on TAB again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multi_player_map/src/util/multiplayer_team_deathmatch.cc

    r8842 r8851  
    8181
    8282  subscribeEvent( ES_GAME, SDLK_o );
    83   subscribeEvent( ES_GAME, SDLK_t );
     83  subscribeEvent( ES_GAME, SDLK_TAB );
    8484  subscribeEvent( ES_GAME, SDLK_F1 );
    8585  subscribeEvent( ES_MENU, SDLK_F1 );
     
    102102{
    103103  unsubscribeEvent( ES_GAME, SDLK_o );
    104   unsubscribeEvent( ES_GAME, SDLK_t );
     104  unsubscribeEvent( ES_GAME, SDLK_TAB );
    105105  unsubscribeEvent( ES_GAME, SDLK_F1 );
    106106  unsubscribeEvent( ES_MENU, SDLK_F1 );
     
    558558    }
    559559  }
    560   else if ( event.type == SDLK_t )
    561   {
    562     if ( !event.bPressed )
     560  else if ( event.type == SDLK_TAB )
     561  {
     562    if ( currentGameState == GAMESTATE_GAME && !event.bPressed && !EventHandler::getInstance()->isPressed( SDLK_RALT ) && !EventHandler::getInstance()->isPressed( SDLK_LALT ) )
    563563    {
    564564      EventHandler::getInstance()->pushState( ES_MENU );
Note: See TracChangeset for help on using the changeset viewer.