- Timestamp:
- Jul 21, 2012, 11:24:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/CollectiblePickup.cc
r9324 r9325 62 62 /** 63 63 @brief 64 Is called by the PickupCarrier when it is being destroyed.65 */66 void CollectiblePickup::carrierDestroyed(void)67 {68 if(!this->isInCollection())69 this->Pickupable::destroy();70 else // If the CollectiblePickup is part of a PickupCollection it is just dropped instead of destroyed.71 this->drop(false);72 }73 74 /**75 @brief76 64 Is called when the pickup has transited from used to unused or the other way around. 77 65 */
Note: See TracChangeset
for help on using the changeset viewer.