- Timestamp:
- Mar 7, 2010, 11:00:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/PickupRepresentation.cc
r6478 r6484 103 103 104 104 PickupManager::getInstance().registerRepresentation(this->pickup_->getPickupIdentifier(), this); //!< Registers the PickupRepresentation with the PickupManager through the PickupIdentifier of the Pickupable it represents. 105 106 if(this->spawnerRepresentation_ != NULL) 107 this->spawnerRepresentation_->setVisible(false); 108 109 COUT(4) << "PickupRepresentation created: name: '" << this->name_ << "', description: '" << this->description_ << "', spawnerTemplate: '" << this->spawnerTemplate_ << "'." << std::endl; 105 110 } 106 111 … … 128 133 129 134 StaticEntity* representation = this->spawnerRepresentation_; 135 representation->setVisible(true); 130 136 131 137 this->addTemplate(this->spawnerTemplate_); 138 this->spawnerRepresentation_->setVisible(false); 132 139 133 140 return representation;
Note: See TracChangeset
for help on using the changeset viewer.