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/pong
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/modules/pong/PongCenterpoint.cc

    r9667 r10571  
    9898        if (this->getGametype() != NULL && this->getGametype()->isA(Class(Pong)))
    9999        {
    100             Pong* pongGametype = orxonox_cast<Pong*>(this->getGametype().get());
     100            Pong* pongGametype = orxonox_cast<Pong*>(this->getGametype());
    101101            pongGametype->setCenterpoint(this);
    102102        }
  • code/branches/core7/src/modules/pong/PongScore.cc

    r9939 r10571  
    170170
    171171        if (this->getOwner() != NULL && this->getOwner()->getGametype())
    172             this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype().get());
     172            this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype());
    173173        else
    174174            this->owner_ = 0;
Note: See TracChangeset for help on using the changeset viewer.