Changeset 6997 in orxonox.OLD for trunk/src/world_entities/space_ships/helicopter.cc
- Timestamp:
- Feb 3, 2006, 12:04:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/helicopter.cc
r6986 r6997 150 150 151 151 //add events to the eventlist 152 registerEvent(KeyMapper::PEV_ UP);153 registerEvent(KeyMapper::PEV_ DOWN);152 registerEvent(KeyMapper::PEV_FORWARD); 153 registerEvent(KeyMapper::PEV_BACKWARD); 154 154 registerEvent(KeyMapper::PEV_LEFT); 155 155 registerEvent(KeyMapper::PEV_RIGHT); … … 412 412 else if( event.type == SDLK_c) 413 413 this->bDescend = event.bPressed; 414 else if( event.type == KeyMapper::PEV_ UP)414 else if( event.type == KeyMapper::PEV_FORWARD) 415 415 this->bUp = event.bPressed; 416 else if( event.type == KeyMapper::PEV_ DOWN)416 else if( event.type == KeyMapper::PEV_BACKWARD) 417 417 this->bDown = event.bPressed; 418 418 else if( event.type == EV_MOUSE_MOTION)
Note: See TracChangeset
for help on using the changeset viewer.