Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 21, 2006, 7:10:42 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: more implementation on Resources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/projectiles/projectile.cc

    r9715 r9783  
    149149{
    150150  if (this->target == NULL)
    151     this->target = new PNode(target, PNODE_PARENT_MODE_DEFAULT | PNODE_REPARENT_ON_PARENTS_REMOVE);
     151    this->target = new PNode(target, PNODE_REPARENT_ON_PARENTS_REMOVE | PNODE_REPARENT_TO_NULL | PNODE_PROHIBIT_DELETE_WITH_PARENT);
    152152  else
    153153    this->target->setParent(target);
Note: See TracChangeset for help on using the changeset viewer.