- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/modules/portals/PortalEndPoint.cc
r11022 r11054 48 48 std::map<unsigned int, PortalEndPoint *> PortalEndPoint::idMap_s; 49 49 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) 51 51 { 52 52 RegisterObject(PortalEndPoint); … … 72 72 { 73 73 if (this->isInitialized()) { 74 if (this->trigger_ != NULL)74 if (this->trigger_ != nullptr) 75 75 this->trigger_->destroy(); 76 76 77 if (this->portalSound_ != NULL)77 if (this->portalSound_ != nullptr) 78 78 this->portalSound_->destroy(); 79 79 } … … 112 112 113 113 MultiTriggerContainer * cont = orxonox_cast<MultiTriggerContainer *>(trigger); 114 if(cont == 0)114 if(cont == nullptr) 115 115 return true; 116 116 117 117 DistanceMultiTrigger * originatingTrigger = orxonox_cast<DistanceMultiTrigger *>(cont->getOriginator()); 118 if(originatingTrigger == 0)118 if(originatingTrigger == nullptr) 119 119 { 120 120 return true; … … 122 122 123 123 MobileEntity * entity = orxonox_cast<MobileEntity *>(cont->getData()); 124 if(entity == 0)124 if(entity == nullptr) 125 125 return true; 126 126
Note: See TracChangeset
for help on using the changeset viewer.