Changeset 6998 in orxonox.OLD for trunk/src/world_entities/player.cc
- Timestamp:
- Feb 3, 2006, 12:29:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/player.cc
r6987 r6998 40 40 this->hud.show(); 41 41 42 EventHandler::getInstance()->subscribe(this, ES_GAME, SDLK_l);42 EventHandler::getInstance()->subscribe(this, ES_GAME, KeyMapper::PEV_CHANGE_SHIP); 43 43 } 44 44 … … 98 98 void Player::process(const Event &event) 99 99 { 100 if (event.type == SDLK_l&& event.bPressed)100 if (event.type == KeyMapper::PEV_CHANGE_SHIP && event.bPressed) 101 101 { 102 102 /// FIXME this should be in the ObjectManager
Note: See TracChangeset
for help on using the changeset viewer.