- Timestamp:
- May 7, 2010, 4:14:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
r6834 r6863 98 98 { 99 99 if (this->isInitialized()) { 100 this->getController()->destroy(); 100 101 COUT(0)<< "simplerocket destroyed\n"; 101 delete this->getController();102 102 } 103 103 } … … 158 158 if (victim) 159 159 victim->hit(this->owner_, contactPoint, dmg); 160 //this->destroy();160 this->destroy(); 161 161 } 162 162 return false;
Note: See TracChangeset
for help on using the changeset viewer.