Changeset 6234 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/player.cc
- Timestamp:
- Dec 21, 2005, 3:14:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/player.cc
r6222 r6234 95 95 if (this->controllable != (*node) && (dynamic_cast<PNode*>(*node)->getAbsCoor() - this->controllable->getAbsCoor()).len() < 10.0) 96 96 { 97 this->controllable->leave();97 98 98 this->disconnectControllable(); 99 99 this->setControllable(dynamic_cast<Playable*>(*node)); 100 this->controllable->enter();101 State::getCamera()->setParentSoft(this->controllable);102 State::getCameraTarget()->setParentSoft(this->controllable);103 100 104 101 break;
Note: See TracChangeset
for help on using the changeset viewer.