Changeset 10461 in orxonox.OLD for trunk/src/world_entities/cameraman.cc
- Timestamp:
- Jan 28, 2007, 9:36:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10441 r10461 160 160 BaseObject* newCam = ObjectListBase::getBaseObject("Camera", camName); 161 161 if( object != NULL && newCam != NULL && object->isA(PNode::staticClassID())) 162 { 162 163 dynamic_cast<Camera*>(newCam)->lookAt(dynamic_cast<PNode*>(object)); 164 State::setCamera(); 165 } 163 166 } 164 167
Note: See TracChangeset
for help on using the changeset viewer.