Changeset 11071 for code/trunk/src/modules/docking/DockToShip.cc
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/docking/DockToShip.cc
r9974 r11071 72 72 73 73 DockingTarget *target = DockingEffect::findTarget(this->target_); 74 if (target == NULL) {74 if (target == nullptr) { 75 75 orxout(internal_warning, context::docking) << "Can't retrieve target for '" << this->target_ << "'.." << endl; 76 76 return false; … … 78 78 79 79 ControllableEntity *dockTo = (ControllableEntity*) target->getParent(); 80 if (dockTo == NULL) {80 if (dockTo == nullptr) { 81 81 orxout(internal_warning, context::docking) << "Parent is not a ControllableEntity.." << endl; 82 82 return false;
Note: See TracChangeset
for help on using the changeset viewer.