Changeset 8851 in orxonox.OLD for branches/multi_player_map/src
- Timestamp:
- Jun 28, 2006, 2:06:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multi_player_map/src/util/multiplayer_team_deathmatch.cc
r8842 r8851 81 81 82 82 subscribeEvent( ES_GAME, SDLK_o ); 83 subscribeEvent( ES_GAME, SDLK_ t);83 subscribeEvent( ES_GAME, SDLK_TAB ); 84 84 subscribeEvent( ES_GAME, SDLK_F1 ); 85 85 subscribeEvent( ES_MENU, SDLK_F1 ); … … 102 102 { 103 103 unsubscribeEvent( ES_GAME, SDLK_o ); 104 unsubscribeEvent( ES_GAME, SDLK_ t);104 unsubscribeEvent( ES_GAME, SDLK_TAB ); 105 105 unsubscribeEvent( ES_GAME, SDLK_F1 ); 106 106 unsubscribeEvent( ES_MENU, SDLK_F1 ); … … 558 558 } 559 559 } 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 ) ) 563 563 { 564 564 EventHandler::getInstance()->pushState( ES_MENU );
Note: See TracChangeset
for help on using the changeset viewer.