Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2010, 11:16:20 PM (14 years ago)
Author:
dafrick
Message:

(Hopefully) fix in pickups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/interfaces/Pickupable.cc

    r6996 r7094  
    213213        Sets the input PickupCarrier as the carrier of the pickup.
    214214    */
    215     inline bool Pickupable::setCarrier(PickupCarrier* carrier)
     215    inline bool Pickupable::setCarrier(PickupCarrier* carrier, bool tell)
    216216    {
    217217        if(this->carrier_ == carrier)
     
    222222        this->carrier_ = carrier;
    223223        this->changedCarrier();
     224        if(tell && carrier != NULL)
     225            this->carrier_->pickups_.insert(this);
    224226        return true;
    225227    }
Note: See TracChangeset for help on using the changeset viewer.