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/tetris/TetrisCenterpoint.cc

    r9667 r10571  
    9898        if (this->getGametype() != NULL && this->getGametype()->isA(Class(Tetris)))
    9999        {
    100             Tetris* tetrisGametype = orxonox_cast<Tetris*>(this->getGametype().get());
     100            Tetris* tetrisGametype = orxonox_cast<Tetris*>(this->getGametype());
    101101            tetrisGametype->setCenterpoint(this);
    102102        }
Note: See TracChangeset for help on using the changeset viewer.