Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 9, 2015, 1:11:13 PM (9 years ago)
Author:
landauf
Message:

BaseObject returns plain pointers instead of StrongPtrs for Namespace, Level, Scene, and Gametype.

Location:
code/branches/core7/src/modules/invader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/modules/invader/InvaderCenterPoint.cc

    r9943 r10571  
    6666        if (this->getGametype() != NULL && this->getGametype()->isA(Class(Invader)))
    6767        {
    68             Invader* InvaderGametype = orxonox_cast<Invader*>(this->getGametype().get());
     68            Invader* InvaderGametype = orxonox_cast<Invader*>(this->getGametype());
    6969            InvaderGametype->setCenterpoint(this);
    7070        }
  • code/branches/core7/src/modules/invader/InvaderHUDinfo.cc

    r9961 r10571  
    128128        if (this->getOwner() && this->getOwner()->getGametype())
    129129        {
    130             this->InvaderGame = orxonox_cast<Invader*>(this->getOwner()->getGametype().get());
     130            this->InvaderGame = orxonox_cast<Invader*>(this->getOwner()->getGametype());
    131131        }
    132132        else
Note: See TracChangeset for help on using the changeset viewer.