Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9867 in orxonox.OLD


Ignore:
Timestamp:
Oct 2, 2006, 11:24:34 PM (18 years ago)
Author:
bensch
Message:

fixed the collision-detection

File:
1 edited

Legend:

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

    r9836 r9867  
    4141#include "debug.h"
    4242
     43#include "projectiles/projectile.h"
    4344
    4445SHELL_COMMAND(model, WorldEntity, loadModel)
     
    8384
    8485  // registering default reactions:
    85   /// FIXME  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, /*CL_WORLD_ENTITY*/ CL_PROJECTILE);
     86  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, /*CL_WORLD_ENTITY*/ Projectile::staticClassID());
    8687
    8788  this->toList(OM_NULL);
Note: See TracChangeset for help on using the changeset viewer.