Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8846 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jun 28, 2006, 12:22:46 PM (19 years ago)
Author:
bensch
Message:

no more segfault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/creatures/fps_player.cc

    r8844 r8846  
    118118
    119119  this->getWeaponManager().setParentNode(&this->cameraNode);
     120  this->cameraNode.addNodeFlags(PNODE_PROHIBIT_CHILD_DELETE);
     121
    120122  this->getWeaponManager().getFixedTarget()->setParent(&this->cameraNode);
    121123  this->getWeaponManager().getFixedTarget()->setRelCoor(1000,0,0);
Note: See TracChangeset for help on using the changeset viewer.