Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6486 for code


Ignore:
Timestamp:
Mar 7, 2010, 11:16:54 PM (15 years ago)
Author:
dafrick
Message:

Simplification in PickupSpawner due to previous commit.

File:
1 edited

Legend:

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

    r6484 r6486  
    161161        SUPER(PickupSpawner, changedActivity);
    162162
    163         for (std::set<WorldEntity*>::const_iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); it++)
    164         {
    165             (*it)->setVisible(this->isActive());
    166         }
     163        this->setVisible(this->isActive());
    167164    }
    168165     
Note: See TracChangeset for help on using the changeset viewer.