Changeset 6499 for code/branches/pickup3/src
- Timestamp:
- Mar 9, 2010, 11:06:08 PM (15 years ago)
- Location:
- code/branches/pickup3/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/Pickup.cc
r6497 r6499 188 188 SUPER(Pickup, changedCarrier); 189 189 190 COUT(1) << "Changed Carrier: " << this->isPickedUp() << this->isImmediate() << std::endl;191 190 //! Sets the Pickup to used if the Pickup has activation type 'immediate' and gets picked up. 192 191 if(this->getCarrier() != NULL && this->isPickedUp() && this->isImmediate()) -
code/branches/pickup3/src/modules/pickup/PickupSpawner.cc
r6492 r6499 272 272 void PickupSpawner::trigger(Pawn* pawn) 273 273 { 274 COUT(1) << "PickupSpawner triggered." << std::endl;275 274 if (this->isActive()) //!< Checks whether PickupSpawner is active. 276 275 { 277 COUT( 1) << "PickupSpawner triggered and active." << std::endl;276 COUT(3) << "PickupSpawner triggered and active." << std::endl; 278 277 279 278 PickupCarrier* carrier = dynamic_cast<PickupCarrier*>(pawn); -
code/branches/pickup3/src/modules/pickup/items/HealthPickup.cc
r6497 r6499 325 325 void HealthPickup::setHealth(float health) 326 326 { 327 if(health > 0.0f)327 if(health >= 0.0f) 328 328 { 329 329 this->health_ = health; -
code/branches/pickup3/src/orxonox/pickup/PickupIdentifier.cc
r6484 r6499 105 105 if(!(this->parameters_.find(name) == this->parameters_.end())) 106 106 { 107 COUT( 2) << "Request for adding a parameter that already exists for the PickupIdentififer was denied. name: '" << name << "', value: '" << value << "'."<< std::endl;107 COUT(4) << "Request for adding a parameter that already exists for the PickupIdentififer was denied. name: '" << name << "', value: '" << value << "'."<< std::endl; 108 108 return false; 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.