Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 8, 2010, 9:17:22 PM (14 years ago)
Author:
dafrick
Message:

Fixed bug in clone() (Argument needed to be as reference). Pickups seem to be working now (after very sporadic testing), more systematic testing (and probably still some more bug fixes) will follow.

File:
1 edited

Legend:

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

    r6480 r6497  
    188188        SUPER(Pickup, changedCarrier);
    189189       
     190        COUT(1) << "Changed Carrier: " << this->isPickedUp() << this->isImmediate() << std::endl;
    190191        //! Sets the Pickup to used if the Pickup has activation type 'immediate' and gets picked up.
    191192        if(this->getCarrier() != NULL && this->isPickedUp() && this->isImmediate())
     
    201202        Returns the clone of this pickup as a pointer to a Pickupable.
    202203    */
    203     void Pickup::clone(OrxonoxClass* item)
     204    void Pickup::clone(OrxonoxClass*& item)
    204205    {
    205206        if(item == NULL)
Note: See TracChangeset for help on using the changeset viewer.