Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9325 for code/branches


Ignore:
Timestamp:
Jul 21, 2012, 11:24:47 PM (12 years ago)
Author:
landauf
Message:

removed obsolete code

Location:
code/branches/presentation2012merge/src/modules/pickup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pickup/CollectiblePickup.cc

    r9324 r9325  
    6262    /**
    6363    @brief
    64         Is called by the PickupCarrier when it is being destroyed.
    65     */
    66     void CollectiblePickup::carrierDestroyed(void)
    67     {
    68         if(!this->isInCollection())
    69             this->Pickupable::destroy();
    70         else // If the CollectiblePickup is part of a PickupCollection it is just dropped instead of destroyed.
    71             this->drop(false);
    72     }
    73 
    74     /**
    75     @brief
    7664        Is called when the pickup has transited from used to unused or the other way around.
    7765    */
  • code/branches/presentation2012merge/src/modules/pickup/CollectiblePickup.h

    r9290 r9325  
    7171                { return this->collection_ != NULL; }
    7272
    73             void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.
    74 
    7573        private:
    7674            void wasAddedToCollection(PickupCollection* collection);
Note: See TracChangeset for help on using the changeset viewer.