Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6241 in orxonox.OLD for trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Dec 21, 2005, 3:36:25 PM (20 years ago)
Author:
bensch
Message:

trunk: merged the spaceshipcontrol back to the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/player.cc

    r6222 r6241  
    9595         if (this->controllable != (*node) && (dynamic_cast<PNode*>(*node)->getAbsCoor() - this->controllable->getAbsCoor()).len() < 10.0)
    9696       {
    97          this->controllable->leave();
     97 
    9898         this->disconnectControllable();
    9999         this->setControllable(dynamic_cast<Playable*>(*node));
    100          this->controllable->enter();
    101          State::getCamera()->setParentSoft(this->controllable);
    102          State::getCameraTarget()->setParentSoft(this->controllable);
    103100
    104101         break;
Note: See TracChangeset for help on using the changeset viewer.