Changeset 9293 for code/branches/presentation2012merge/src/modules/pickup
- Timestamp:
- Jun 11, 2012, 10:57:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/PickupCollection.cc
r9292 r9293 75 75 for(std::list<CollectiblePickup*>::iterator it = this->pickups_.begin(); it != this->pickups_.end(); ++it) 76 76 { 77 if((*it)->isBeingDestroyed()) 78 continue; 79 77 80 (*it)->wasRemovedFromCollection(); 78 81 (*it)->destroyPickup(); … … 276 279 return NULL; 277 280 278 std::list<CollectiblePickup*>:: iterator it = this->pickups_.begin();281 std::list<CollectiblePickup*>::const_iterator it = this->pickups_.begin(); 279 282 std::advance(it, index); 280 283 return *it;
Note: See TracChangeset
for help on using the changeset viewer.