Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 3, 2006, 2:14:22 PM (18 years ago)
Author:
bensch
Message:

trunk: new algorithm for the Camera-Distance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/helicopter.cc

    r6997 r7014  
    203203{
    204204  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true);
    205   State::getCamera()->setParentSoft(this->getWeaponManager()->getFixedTarget());
    206   State::getCameraTarget()->setParentSoft(this->getWeaponManager()->getFixedTarget());
     205  State::getCameraNode()->setParentSoft(this->getWeaponManager()->getFixedTarget());
     206  State::getCameraTargetNode()->setParentSoft(this->getWeaponManager()->getFixedTarget());
    207207}
    208208
Note: See TracChangeset for help on using the changeset viewer.