- 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/docking/DockingAnimation.cc
r10624 r11054 45 45 RegisterObject(DockingAnimation); 46 46 47 this->parent_ = NULL;47 this->parent_ = nullptr; 48 48 } 49 49 … … 57 57 bool check = true; 58 58 59 for ( std::list<DockingAnimation*>::iterator animation = animations.begin(); animation != animations.end(); animation++)59 for (DockingAnimation* animation : animations) 60 60 { 61 61 if(dock) 62 check &= (*animation)->docking(player);62 check &= animation->docking(player); 63 63 else 64 check &= (*animation)->release(player);64 check &= animation->release(player); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.