Changeset 5801 for code/branches/core5/src/orxonox/pickup/DroppedItem.cc
- Timestamp:
- Sep 26, 2009, 10:25:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/pickup/DroppedItem.cc
r5785 r5801 69 69 { 70 70 COUT(3) << "DroppedItem '" << this->item_->getPickupIdentifier() << "' picked up." << std::endl; 71 delete this;71 this->destroy(); 72 72 } 73 73 } … … 85 85 { 86 86 COUT(3) << "Delete DroppedItem with '" << this->item_->getPickupIdentifier() << "'" << std::endl; 87 delete this->item_;87 this->item_->destroy(); 88 88 } 89 89 90 delete this;90 this->destroy(); 91 91 } 92 92
Note: See TracChangeset
for help on using the changeset viewer.