Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2010, 4:41:26 PM (15 years ago)
Author:
ebeier
Message:

inserted cout for troubleshooting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc

    r6884 r6892  
    174174            if (shielddamage > this->getShieldHealth())
    175175            {
     176                COUT(1) << "the shield is too weak to take its share of the damage!" << std::endl;
    176177                healthdamage += shielddamage-this->getShieldHealth();
    177178                this->setShieldHealth(0);
     
    183184            {
    184185                this->setShieldHealth(this->shieldHealth_ - shielddamage);
     186                COUT(1) << "the shield takes its share of the damage and is left with " << this->getShieldHealth() << std::endl;
    185187            }
    186188
Note: See TracChangeset for help on using the changeset viewer.