Changeset 8288 in orxonox.OLD for branches/bsp_model/src/lib/collision_reaction/cr_object_damage.cc
- Timestamp:
- Jun 8, 2006, 6:30:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/collision_reaction/cr_object_damage.cc
r8216 r8288 54 54 float damage = 0.0f; 55 55 56 PRINTF( 0)("Dealing damage - Handling collision: %s vs %s\n",56 PRINTF(4)("Dealing damage - Handling collision: %s vs %s\n", 57 57 collision->getEntityA()->getClassName(), 58 58 collision->getEntityB()->getClassName()); … … 63 63 collision->getEntityA()->decreaseHealth(damage); 64 64 } 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()); 66 66 67 67 if( collision->isEntityBCollide()) { … … 69 69 collision->getEntityB()->decreaseHealth(damage); 70 70 } 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()); 72 72 73 73 collision->flushCollisionEvents();
Note: See TracChangeset
for help on using the changeset viewer.