Changeset 6216 in orxonox.OLD for branches/christmas_branche/src
- Timestamp:
- Dec 21, 2005, 11:52:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/player.cc
r6215 r6216 21 21 22 22 #include "class_list.h" 23 #include "state.h" 23 24 24 25 using namespace std; … … 94 95 if (this->controllable != (*node) && (dynamic_cast<PNode*>(*node)->getAbsCoor() - this->controllable->getAbsCoor()).len() < 10.0) 95 96 { 96 printf("strange\n");97 97 this->disconnectControllable(); 98 98 this->setControllable(dynamic_cast<Playable*>(*node)); 99 State::getCamera()->setParentSoft(this->controllable); 100 State::getCameraTarget()->setParentSoft(this->controllable); 101 99 102 break; 100 103 }
Note: See TracChangeset
for help on using the changeset viewer.