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/towerdefense/TowerDefenseCenterpoint.cc

    r9667 r10571  
    103103        {
    104104            // Sets the centerpoint of the gametype. The gametype uses this to later spawn in towers, he needs the tower template stored in the center point
    105             TowerDefense* towerDefenseGametype = orxonox_cast<TowerDefense*>(this->getGametype().get());
     105            TowerDefense* towerDefenseGametype = orxonox_cast<TowerDefense*>(this->getGametype());
    106106            towerDefenseGametype->setCenterpoint(this);
    107107        }
Note: See TracChangeset for help on using the changeset viewer.