Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

made a mistake in previous update, but still not working…

File:
1 edited

Legend:

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

    r6816 r6817  
    5959        this->bDestroy_ = false;
    6060        this->lifetime_ = 100;
    61                 this->controller_=null;
    6261                COUT(0)<< "simplerocket constructed\n";
    6362                //this->camera_ = null;
     
    106105    {
    107106                COUT(0)<< "simplerocket destroyed\n";
    108                 if (this->controller_) delete this->controller_;
    109     }
     107                if (this->hasLocalController()) delete this->getController();
     108        }
    110109
    111110    /**
Note: See TracChangeset for help on using the changeset viewer.