Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2006, 3:18:19 PM (19 years ago)
Author:
patrick
Message:

cr: more collision, new interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/cr_object_damage.cc

    r8006 r8029  
    5050{
    5151
    52   const std::vector<CollisionEvent*>* v = &collision->getCollisionEvents();
    53   const std::vector<CollisionEvent*>::const_iterator it = v->begin();
    54   for(; it < v->end(); it++)
     52  const std::vector<CollisionEvent*>* collisionEvents = &(collision->getCollisionEvents());
     53  std::vector<CollisionEvent*>::const_iterator it = collisionEvents->begin();
     54  for(; it != collisionEvents->end(); it++)
    5555  {
    5656    // go through the collisions and try to estimate the damage
Note: See TracChangeset for help on using the changeset viewer.