Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4410 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
May 31, 2005, 12:43:58 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: prepeared to implement all system wide commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4409 r4410  
    422422  orx->getLocalInput()->bind (localPlayer);
    423423
    424   this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_UP);
    425   this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_DOWN);
    426   this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_LEFT);
    427   this->eventHandler->subscribe(this->localPlayer, ES_ALL, KeyMapper::PEV_RIGHT);
     424  this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_UP);
     425  this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_DOWN);
     426  this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_LEFT);
     427  this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_RIGHT);
    428428 
    429429  // bind camera
Note: See TracChangeset for help on using the changeset viewer.