Changeset 6997 in orxonox.OLD for trunk/src/world_entities/space_ships/space_ship.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/space_ship.cc
r6994 r6997 170 170 171 171 //add events to the eventlist 172 registerEvent(KeyMapper::PEV_ UP);173 registerEvent(KeyMapper::PEV_ DOWN);172 registerEvent(KeyMapper::PEV_FORWARD); 173 registerEvent(KeyMapper::PEV_BACKWARD); 174 174 registerEvent(KeyMapper::PEV_LEFT); 175 175 registerEvent(KeyMapper::PEV_RIGHT); … … 490 490 else if( event.type == KeyMapper::PEV_RIGHT) 491 491 this->bRollR = event.bPressed; 492 else if( event.type == KeyMapper::PEV_ UP)492 else if( event.type == KeyMapper::PEV_FORWARD) 493 493 this->bUp = event.bPressed; //this->shiftCoor(0,.1,0); 494 else if( event.type == KeyMapper::PEV_ DOWN)494 else if( event.type == KeyMapper::PEV_BACKWARD) 495 495 this->bDown = event.bPressed; //this->shiftCoor(0,-.1,0); 496 496 else if( event.type == EV_MOUSE_MOTION)
Note: See TracChangeset
for help on using the changeset viewer.