- Timestamp:
- Nov 6, 2015, 10:54:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/worldentities/WorldEntity.cc
r10765 r10768 77 77 this->node_ = this->getScene()->getRootSceneNode()->createChildSceneNode(); 78 78 79 this->parent_ = 0;79 this->parent_ = nullptr; 80 80 this->parentID_ = OBJECTID_UNKNOWN; 81 81 this->bDeleteWithParent_ = true; … … 90 90 91 91 // Default behaviour does not include physics 92 this->physicalBody_ = 0;92 this->physicalBody_ = nullptr; 93 93 this->bPhysicsActive_ = false; 94 94 this->bPhysicsActiveSynchronised_ = false; … … 498 498 void WorldEntity::notifyDetached() 499 499 { 500 this->parent_ = 0;500 this->parent_ = nullptr; 501 501 this->parentID_ = OBJECTID_UNKNOWN; 502 502 … … 525 525 ++i; 526 526 } 527 return 0;527 return nullptr; 528 528 } 529 529 … … 856 856 deactivatePhysics(); 857 857 delete this->physicalBody_; 858 this->physicalBody_ = 0;858 this->physicalBody_ = nullptr; 859 859 this->collisionType_ = None; 860 860 this->collisionTypeSynchronised_ = None;
Note: See TracChangeset
for help on using the changeset viewer.