Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 7, 2010, 11:00:05 PM (14 years ago)
Author:
dafrick
Message:

Cleanup and bug fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/PickupManager.cc

    r6475 r6484  
    5252    PickupManager::PickupManager()
    5353    {
     54        this->defaultRepresentation_ = NULL;
     55        this->pickupCarrierStructure_ = NULL;
    5456        RegisterRootObject(PickupManager);
    5557       
     
    8587    bool PickupManager::registerRepresentation(const PickupIdentifier* identifier, PickupRepresentation* representation)
    8688    {
    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.
    8890            return false;
    8991       
Note: See TracChangeset for help on using the changeset viewer.