Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9611


Ignore:
Timestamp:
Apr 1, 2013, 2:34:27 PM (12 years ago)
Author:
landauf
Message:

no need to store the creator of a RadarViewable

Location:
code/branches/core6/src/orxonox/interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/orxonox/interfaces/RadarViewable.cc

    r9526 r9611  
    4545        , bVisibility_(true)
    4646        , bInitialized_(false)
    47         , creator_(creator)
    4847        , wePtr_(wePtr)
    4948        , radarObjectCamouflage_(0.0f)
     
    5756        if( GameMode::showsGraphics() )
    5857        {
    59             this->radar_ = this->creator_->getScene()->getRadar();
     58            this->radar_ = creator->getScene()->getRadar();
    6059            this->radar_->addRadarObject(this);
    6160        }
  • code/branches/core6/src/orxonox/interfaces/RadarViewable.h

    r9585 r9611  
    153153        //Map
    154154        std::string uniqueId_;
    155         BaseObject* creator_;
    156155
    157156
Note: See TracChangeset for help on using the changeset viewer.