Changeset 9783 in orxonox.OLD for branches/new_class_id/src/world_entities/projectiles/projectile.cc
- Timestamp:
- Sep 21, 2006, 7:10:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/projectiles/projectile.cc
r9715 r9783 149 149 { 150 150 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); 152 152 else 153 153 this->target->setParent(target);
Note: See TracChangeset
for help on using the changeset viewer.