Changeset 6817 for code/branches/rocket
- Timestamp:
- May 2, 2010, 9:55:23 PM (15 years ago)
- Location:
- code/branches/rocket/src/modules/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/RocketController.cc
r6815 r6817 72 72 RocketController::~RocketController() { 73 73 COUT(0)<< "RocketController destroyed\n"; 74 delete this;75 76 74 } 77 75 -
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
r6816 r6817 59 59 this->bDestroy_ = false; 60 60 this->lifetime_ = 100; 61 this->controller_=null;62 61 COUT(0)<< "simplerocket constructed\n"; 63 62 //this->camera_ = null; … … 106 105 { 107 106 COUT(0)<< "simplerocket destroyed\n"; 108 if (this-> controller_) delete this->controller_;109 107 if (this->hasLocalController()) delete this->getController(); 108 } 110 109 111 110 /**
Note: See TracChangeset
for help on using the changeset viewer.