Changeset 4442 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Jun 1, 2005, 10:07:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4438 r4442 50 50 #include "fields.h" 51 51 52 #include "command_node.h"53 52 #include "glmenu_imagescreen.h" 54 53 #include "list.h" … … 418 417 419 418 // bind input 420 Orxonox *orx = Orxonox::getInstance ();421 orx->getLocalInput()->bind (localPlayer);422 423 419 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_UP); 424 420 this->eventHandler->subscribe(this->localPlayer, ES_GAME, KeyMapper::PEV_DOWN); … … 696 692 this->bPause = false; 697 693 this->pilotNode = NULL; 698 CommandNode* cn = Orxonox::getInstance()->getLocalInput();699 cn->addToWorld(this);700 cn->enable(true);701 694 } 702 695
Note: See TracChangeset
for help on using the changeset viewer.