Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2010, 4:14:18 PM (14 years ago)
Author:
gnadler
Message:

orxonox crashes while, respectively after destroying either the Rocket or the Controller.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc

    r6834 r6863  
    9898    {
    9999                if (this->isInitialized()) {
     100                        this->getController()->destroy();
    100101                COUT(0)<< "simplerocket destroyed\n";
    101                 delete this->getController();
    102102                }
    103103        }
     
    158158            if (victim)
    159159                victim->hit(this->owner_, contactPoint, dmg);
    160 //             this->destroy();
     160             this->destroy();
    161161        }
    162162        return false;
Note: See TracChangeset for help on using the changeset viewer.