Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10013 in orxonox.OLD for trunk/src/world_entities/projectiles


Ignore:
Timestamp:
Dec 4, 2006, 6:42:46 PM (18 years ago)
Author:
patrick
Message:

merged the collision reaction branche back to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/projectiles/projectile.cc

    r9869 r10013  
    2323#include "model.h"
    2424#include "sound/resource_sound_buffer.h"
     25#include "playable.h"
    2526
    2627#include "debug.h"
     
    4344  this->setHealth(1.0f);
    4445  this->setDamage(1.0f); // default damage of a projectile set to 100.0 damage points
     46  this->subscribeReaction( CoRe::CREngine::CR_PHYSICS_FULL_WALK, Playable::staticClassID());
    4547
    4648  //this->addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT);
Note: See TracChangeset for help on using the changeset viewer.