Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2010, 8:47:07 AM (14 years ago)
Author:
dafrick
Message:

Fixed PickupCollection. It works now the way it was intended and no restructuring of the pickupsystem was necessary.

File:
1 edited

Legend:

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

    r6731 r6901  
    123123        for(std::vector<WeakPtr<Pickupable> >::iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++)
    124124        {
    125             (*it).get()->setCarrier(this->getCarrier());
     125            (*it).get()->setCarrier(this->getCarrier()->getTarget(*it));
    126126        }
    127127    }
Note: See TracChangeset for help on using the changeset viewer.