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.

File:
1 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        }
Note: See TracChangeset for help on using the changeset viewer.