Changeset 9031 in orxonox.OLD for branches/single_player_map/src/lib/collision_reaction
- Timestamp:
- Jul 3, 2006, 1:35:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_object_damage.cc
r9008 r9031 56 56 float damage = 0.0f; 57 57 58 PRINTF(0)("Dealing damage - Handling collision: %s vs %s\n",59 collision->getEntityA()->getClassName(),60 collision->getEntityB()->getClassName());58 // PRINTF(0)("Dealing damage - Handling collision: %s vs %s\n", 59 // collision->getEntityA()->getClassName(), 60 // collision->getEntityB()->getClassName()); 61 61 62 62 // the collision damage been dealed by the entity … … 65 65 collision->getEntityA()->hit(damage, collision->getEntityB()); 66 66 } 67 PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassName());67 // PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassName()); 68 68 69 69 if( collision->isEntityBCollide()) { … … 71 71 collision->getEntityB()->hit(damage, collision->getEntityA()); 72 72 } 73 PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassName());73 // PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassName()); 74 74 75 75 collision->flushCollisionEvents();
Note: See TracChangeset
for help on using the changeset viewer.