Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6816 for code/branches


Ignore:
Timestamp:
May 2, 2010, 9:50:06 PM (15 years ago)
Author:
gnadler
Message:

updated ~SimpleRocket but still doesn't work

File:
1 edited

Legend:

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

    r6815 r6816  
    5959        this->bDestroy_ = false;
    6060        this->lifetime_ = 100;
     61                this->controller_=null;
    6162                COUT(0)<< "simplerocket constructed\n";
    6263                //this->camera_ = null;
     
    105106    {
    106107                COUT(0)<< "simplerocket destroyed\n";
    107                 delete this->getController();
     108                if (this->controller_) delete this->controller_;
    108109    }
    109110
Note: See TracChangeset for help on using the changeset viewer.