Changeset 8341 in orxonox.OLD for branches/bsp_model/src/lib/collision_reaction/collision_handle.cc
- Timestamp:
- Jun 13, 2006, 12:00:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/collision_reaction/collision_handle.cc
r8337 r8341 227 227 { 228 228 if( collisionEvent->getEntityA() == this->owner) { 229 if( collisionEvent->getEntityB()->isA((ClassID)(*it))) 229 if( collisionEvent->getEntityB()->isA((ClassID)(*it))) { 230 PRINTF(0)("I am: %s colliding with: %s is a %i filter ok\n", owner->getClassName(), 231 collisionEvent->getEntityB()->getClassName(), *it); 230 232 return true; } 233 } 231 234 else { 232 if( collisionEvent->getEntityA()->isA((ClassID)(*it))) 233 return true; } 235 if( collisionEvent->getEntityA()->isA((ClassID)(*it))) { 236 PRINTF(0)("I am: %s colliding with: %s is a %i filter ok\n", owner->getClassName(), 237 collisionEvent->getEntityA()->getClassName(), *it); 238 return true; } 239 } 234 240 } 235 241
Note: See TracChangeset
for help on using the changeset viewer.