Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7970 in orxonox.OLD for branches/cr


Ignore:
Timestamp:
May 30, 2006, 1:40:05 AM (19 years ago)
Author:
patrick
Message:

cr: registering first reactions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/world_entities/world_entity.cc

    r7969 r7970  
    7474    this->collisionHandles[i] = NULL;
    7575  this->bReactive = false;
     76
     77  // registering default reactions:
     78  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, 1, CL_WORLD_ENTITY);
     79  this->subscribeReaction(CREngine::CR_PHYSICS_GROUND, 1, CL_TERRAIN);
    7680
    7781  this->toList(OM_NULL);
Note: See TracChangeset for help on using the changeset viewer.