Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 9, 2010, 11:06:08 PM (15 years ago)
Author:
dafrick
Message:

Some small changes regarding output.

Location:
code/branches/pickup3/src
Files:
4 edited

Legend:

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

    r6497 r6499  
    188188        SUPER(Pickup, changedCarrier);
    189189       
    190         COUT(1) << "Changed Carrier: " << this->isPickedUp() << this->isImmediate() << std::endl;
    191190        //! Sets the Pickup to used if the Pickup has activation type 'immediate' and gets picked up.
    192191        if(this->getCarrier() != NULL && this->isPickedUp() && this->isImmediate())
  • code/branches/pickup3/src/modules/pickup/PickupSpawner.cc

    r6492 r6499  
    272272    void PickupSpawner::trigger(Pawn* pawn)
    273273    {
    274         COUT(1) << "PickupSpawner triggered." << std::endl;
    275274        if (this->isActive()) //!< Checks whether PickupSpawner is active.
    276275        {
    277             COUT(1) << "PickupSpawner triggered and active." << std::endl;
     276            COUT(3) << "PickupSpawner triggered and active." << std::endl;
    278277           
    279278            PickupCarrier* carrier = dynamic_cast<PickupCarrier*>(pawn);
  • code/branches/pickup3/src/modules/pickup/items/HealthPickup.cc

    r6497 r6499  
    325325    void HealthPickup::setHealth(float health)
    326326    {
    327         if(health > 0.0f)
     327        if(health >= 0.0f)
    328328        {
    329329            this->health_ = health;
  • code/branches/pickup3/src/orxonox/pickup/PickupIdentifier.cc

    r6484 r6499  
    105105        if(!(this->parameters_.find(name) == this->parameters_.end()))
    106106        {
    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;
    108108            return false;
    109109        }
Note: See TracChangeset for help on using the changeset viewer.