Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7126 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Feb 13, 2006, 1:14:53 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: the delete Mechanism of PNode seems to work again.
This is done by always deleting the first node, and not walking through a list, that is eleminated during deletion time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/turbine_hover.cc

    r7125 r7126  
    8080  Weapon* wpLeft = new TestGun(1);
    8181  wpLeft->setName("testGun Left");
    82   Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER));
    83 
    84   cannon->setName("BFG");
     82  //Weapon* cannon = dynamic_cast<Weapon*>(Factory::fabricate(CL_HYPERBLASTER));
     83
     84  //  cannon->setName("BFG");
    8585
    8686  this->addWeapon(wpLeft, 1, 0);
    8787  this->addWeapon(wpRight,1 ,1);
    88   this->addWeapon(cannon, 0, 2);
     88  //this->addWeapon(cannon, 0, 2);
    8989
    9090  this->getWeaponManager()->changeWeaponConfig(1);
Note: See TracChangeset for help on using the changeset viewer.