Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 8, 2010, 9:39:47 AM (15 years ago)
Author:
dafrick
Message:

Added target to HealthPickup, which I had forgotten.

File:
1 edited

Legend:

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

    r6484 r6490  
    7272    */
    7373    void HealthPickup::initialize(void)
    74     {
    75         RegisterObject(HealthPickup);
    76        
     74    {       
    7775        this->health_ = 0;
    7876        this->healthRate_ = 0;
     
    8078        this->maxHealthSave_ = 0;
    8179        this->maxHealthOverwrite_ = 0;
     80       
     81        this->addTarget(ClassIdentifier<Pawn>::getIdentifier());
    8282    }
    8383   
Note: See TracChangeset for help on using the changeset viewer.