Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 13, 2010, 11:35:18 AM (14 years ago)
Author:
dafrick
Message:

Documenting in pickups module.
Cleaning up in PickupManager.
Removed some obsolete functions in HumanController and ControllableEntity, which were remenants of the old pickups module.
Fixed a bug.

File:
1 edited

Legend:

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

    r7494 r7533  
    118118        // Change used for all Pickupables this PickupCollection consists of.
    119119        for(std::vector<CollectiblePickup*>::iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++)
    120         {
    121120            (*it)->setUsed(this->isUsed());
    122         }
     121
    123122        this->processingUsed_ = false;
    124123
     
    176175        // Change the pickedUp status for all Pickupables this PickupCollection consists of.
    177176        for(std::vector<CollectiblePickup*>::iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++)
    178         {
    179177            (*it)->setPickedUp(this->isPickedUp());
    180         }
     178
    181179        this->processingPickedUp_ = false;
    182180
Note: See TracChangeset for help on using the changeset viewer.