- Timestamp:
- Mar 7, 2010, 11:00:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/PickupManager.cc
r6475 r6484 52 52 PickupManager::PickupManager() 53 53 { 54 this->defaultRepresentation_ = NULL; 55 this->pickupCarrierStructure_ = NULL; 54 56 RegisterRootObject(PickupManager); 55 57 … … 85 87 bool PickupManager::registerRepresentation(const PickupIdentifier* identifier, PickupRepresentation* representation) 86 88 { 87 if(this->representations_.find(identifier) == this->representations_.end()) //!< If the Pickupable already has a RepresentationRegistered.89 if(this->representations_.find(identifier) != this->representations_.end()) //!< If the Pickupable already has a RepresentationRegistered. 88 90 return false; 89 91
Note: See TracChangeset
for help on using the changeset viewer.