- Timestamp:
- Jun 20, 2007, 11:34:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/lib/collision_reaction/cr_object_damage.cc
r10749 r10754 55 55 float damage = 0.0f; 56 56 57 PRINTF( 0)("Dealing damage - Handling collision: %s vs %s\n",57 PRINTF(4)("Dealing damage - Handling collision: %s vs %s\n", 58 58 collision->getEntityA()->getClassCName(), 59 59 collision->getEntityB()->getClassCName()); … … 64 64 damage = collision->getEntityB()->getDamage(); 65 65 collision->getEntityA()->hit(damage, collision->getEntityB()); 66 PRINTF( 0)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassCName());66 PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassCName()); 67 67 } 68 68 … … 71 71 damage = collision->getEntityA()->getDamage(); 72 72 collision->getEntityB()->hit(damage, collision->getEntityA()); 73 PRINTF( 0)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassCName());73 PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassCName()); 74 74 } 75 75
Note: See TracChangeset
for help on using the changeset viewer.