Changeset 7996 in orxonox.OLD for branches/cr/src/lib/collision_reaction/cr_engine.cc
- Timestamp:
- May 30, 2006, 10:37:22 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/cr_engine.cc
r7967 r7996 90 90 // first clear all CollisionHandles 91 91 92 while( !this->collisionHandles.empty()) 92 vector<CollisionHandle*>::iterator it = this->collisionHandles.begin(); 93 for(; it < this->collisionHandles.end(); it++) 93 94 { 94 this->collisionHandles.front()->reset();95 delete this->collisionHandles.front();95 (*it)->reset(); 96 delete *it; 96 97 } 98 97 99 this->collisionHandles.clear(); 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.