Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 10, 2016, 1:54:11 PM (9 years ago)
Author:
landauf
Message:

merged branch cpp11_v2 into cpp11_v3

Location:
code/branches/cpp11_v3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v3

  • code/branches/cpp11_v3/src/modules/portals/PortalEndPoint.cc

    r11022 r11054  
    4848    std::map<unsigned int, PortalEndPoint *> PortalEndPoint::idMap_s;
    4949
    50     PortalEndPoint::PortalEndPoint(Context* context) : StaticEntity(context), RadarViewable(this, static_cast<WorldEntity*>(this)), id_(0), trigger_(NULL), reenterDelay_(0)
     50    PortalEndPoint::PortalEndPoint(Context* context) : StaticEntity(context), RadarViewable(this, static_cast<WorldEntity*>(this)), id_(0), trigger_(nullptr), reenterDelay_(0)
    5151    {
    5252        RegisterObject(PortalEndPoint);
     
    7272    {
    7373        if (this->isInitialized()) {
    74             if (this->trigger_ != NULL)
     74            if (this->trigger_ != nullptr)
    7575                this->trigger_->destroy();
    7676
    77             if (this->portalSound_ != NULL)
     77            if (this->portalSound_ != nullptr)
    7878                this->portalSound_->destroy();
    7979        }
     
    112112
    113113        MultiTriggerContainer * cont = orxonox_cast<MultiTriggerContainer *>(trigger);
    114         if(cont == 0)
     114        if(cont == nullptr)
    115115            return true;
    116116
    117117        DistanceMultiTrigger * originatingTrigger = orxonox_cast<DistanceMultiTrigger *>(cont->getOriginator());
    118         if(originatingTrigger == 0)
     118        if(originatingTrigger == nullptr)
    119119        {
    120120            return true;
     
    122122
    123123        MobileEntity * entity = orxonox_cast<MobileEntity *>(cont->getData());
    124         if(entity == 0)
     124        if(entity == nullptr)
    125125            return true;
    126126
Note: See TracChangeset for help on using the changeset viewer.