Changeset 7125 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Feb 12, 2006, 6:06:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/turbine_hover.cc
r7105 r7125 226 226 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 227 227 228 State::getCameraNode()->setParentSoft(&this->cameraNode); 229 State::getCameraNode()->setRelCoorSoft(-10, 0,0); 230 State::getCameraTargetNode()->setParentSoft(&this->cameraNode); 228 if (State::getCameraNode != NULL) 229 { 230 State::getCameraNode()->setParentSoft(&this->cameraNode); 231 State::getCameraNode()->setRelCoorSoft(-10, 0,0); 232 State::getCameraTargetNode()->setParentSoft(&this->cameraNode); 233 } 231 234 } 232 235
Note: See TracChangeset
for help on using the changeset viewer.