- Timestamp:
- May 12, 2011, 5:20:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/portals/PortalEndPoint.cc
r8457 r8471 14 14 std::map<unsigned int, PortalEndPoint *> PortalEndPoint::idMap_s; 15 15 16 PortalEndPoint::PortalEndPoint(BaseObject* creator) : StaticEntity(creator), id_(0), trigger_( new DistanceMultiTrigger(this))16 PortalEndPoint::PortalEndPoint(BaseObject* creator) : StaticEntity(creator), id_(0), trigger_(NULL) 17 17 { 18 18 RegisterObject(PortalEndPoint); 19 this->trigger_ = new DistanceMultiTrigger(this); 19 20 this->trigger_->setName("portal"); 20 21 this->attach(trigger_); … … 23 24 PortalEndPoint::~PortalEndPoint() 24 25 { 25 26 delete this->trigger_; 26 27 } 27 28
Note: See TracChangeset
for help on using the changeset viewer.