Changeset 8854 in orxonox.OLD for branches/multi_player_map/src/lib/collision_reaction
- Timestamp:
- Jun 28, 2006, 2:42:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multi_player_map/src/lib/collision_reaction/cr_object_damage.cc
r8838 r8854 63 63 if( collision->isEntityACollide()) { 64 64 damage = collision->getEntityB()->getDamage(); 65 collision->getEntityA()->hit(damage );65 collision->getEntityA()->hit(damage, , collision->getEntityB()); 66 66 } 67 67 PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityA()->getClassName()); … … 69 69 if( collision->isEntityBCollide()) { 70 70 damage = collision->getEntityA()->getDamage(); 71 collision->getEntityB()->hit(damage );71 collision->getEntityB()->hit(damage, collision->getEntityA()); 72 72 } 73 73 PRINTF(4)("Dealing damage - %f damage to %s \n", damage, collision->getEntityB()->getClassName());
Note: See TracChangeset
for help on using the changeset viewer.