Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 11:14:54 PM (19 years ago)
Author:
patrick
Message:

cr: double sidded collision events updated

File:
1 edited

Legend:

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

    r7968 r8108  
    2929  this->entityA = NULL;
    3030  this->entityB = NULL;
     31
     32  this->bDispatched = false;
     33  this->entityACollide = false;
     34  this->entityBCollide = false;
    3135}
    3236
     
    4650{
    4751
    48 
     52  this->bDispatched = true;
    4953  this->flushCollisionEvents();
    5054}
     
    5660void Collision::flushCollisionEvents()
    5761{
     62  this->entityA = NULL;
     63  this->entityB = NULL;
     64
     65  this->entityACollide = false;
     66  this->entityBCollide = false;
     67
    5868  this->collisionEvents.clear();
    5969}
Note: See TracChangeset for help on using the changeset viewer.