Changeset 6499 for code/branches/pickup3/src/modules/pickup
- Timestamp:
- Mar 9, 2010, 11:06:08 PM (15 years ago)
- Location:
- code/branches/pickup3/src/modules/pickup
- Files:
-
- 3 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;
Note: See TracChangeset
for help on using the changeset viewer.