Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Simplification in creation of PickupIdentifier.

File:
1 edited

Legend:

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

    r6475 r6480  
    5353        RegisterObject(PickupCollection);
    5454       
    55         this->pickupCollectionIdentifier_ = new PickupCollectionIdentifier();
     55        this->pickupCollectionIdentifier_ = new PickupCollectionIdentifier(this);
    5656    }
    5757   
     
    8585    void PickupCollection::initializeIdentifier(void)
    8686    {
    87         this->pickupCollectionIdentifier_->addClass(this->getIdentifier());
    88        
    8987        for(std::vector<Pickupable*>::iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++)
    9088        {
Note: See TracChangeset for help on using the changeset viewer.