Changeset 8853 in orxonox.OLD for branches/single_player_map/src/world_entities
- Timestamp:
- Jun 28, 2006, 2:36:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/world_entity.cc
r8834 r8853 433 433 * @param position it collides on the plane 434 434 */ 435 bool WorldEntity::registerCollision(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position )435 bool WorldEntity::registerCollision(WorldEntity* entity, WorldEntity* groundEntity, Vector normal, Vector position, bool bInWall) 436 436 { 437 437 // is there any handler listening? … … 442 442 CollisionEvent* c = CREngine::getInstance()->popCollisionEventObject(); 443 443 assert(c != NULL); // if this should fail: we got not enough precached CollisionEvents: alter value in cr_defs.h 444 c->collide(entity, groundEntity, normal, position );444 c->collide(entity, groundEntity, normal, position, bInWall); 445 445 446 446 for( int i = 0; i < CREngine::CR_NUMBER; ++i)
Note: See TracChangeset
for help on using the changeset viewer.