Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 4:55:24 PM (16 years ago)
Author:
scheusso
Message:

changed radar handling (SpaceShip::instance is now SpaceShip::getLocalShip)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/hud/RadarOverlayElement.cc

    r1373 r1384  
    9191
    9292    void RadarOverlayElement::update() {
    93         shipPos_ = SpaceShip::instance_s->getPosition();
    94         currentDir_ = SpaceShip::instance_s->getOrientation()*initialDir_;              // according to beni....
    95                 currentOrth_ = SpaceShip::instance_s->getOrientation()*initialOrth_;
     93        shipPos_ = SpaceShip::getLocalShip()->getPosition();
     94        currentDir_ = SpaceShip::getLocalShip()->getOrientation()*initialDir_;          // according to beni....
     95                currentOrth_ = SpaceShip::getLocalShip()->getOrientation()*initialOrth_;
    9696        plane = Plane(currentDir_, shipPos_);
    9797
Note: See TracChangeset for help on using the changeset viewer.