Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2006, 6:30:52 PM (18 years ago)
Author:
patrick
Message:

bsp: the collision reaction is on its way… a long one…

File:
1 edited

Legend:

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

    r8216 r8288  
    5454  float damage = 0.0f;
    5555
    56   PRINTF(0)("Dealing damage - Handling collision: %s vs %s\n",
     56  PRINTF(4)("Dealing damage - Handling collision: %s vs %s\n",
    5757            collision->getEntityA()->getClassName(),
    5858            collision->getEntityB()->getClassName());
     
    6363    collision->getEntityA()->decreaseHealth(damage);
    6464  }
    65   PRINTF(0)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassName());
     65  PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassName());
    6666
    6767  if( collision->isEntityBCollide()) {
     
    6969    collision->getEntityB()->decreaseHealth(damage);
    7070  }
    71   PRINTF(0)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassName());
     71  PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassName());
    7272
    7373  collision->flushCollisionEvents();
Note: See TracChangeset for help on using the changeset viewer.