Changeset 10014 in orxonox.OLD for trunk/src/lib/collision_reaction
- Timestamp:
- Dec 4, 2006, 8:31:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_reaction/cr_object_damage.cc
r10013 r10014 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.