Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2010, 4:52:34 PM (14 years ago)
Author:
ebeier
Message:

cout again -.-

File:
1 edited

Legend:

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

    r6893 r6894  
    175175            {
    176176                COUT(1) << "the shield is too weak to take its share of the damage!" << std::endl;
    177                 COUT(1) << "damage" << damage  << "shieldAbsorption" << this->shieldAbsorption_ << std::endl;
    178                 COUT(1) << "shielddamage" << shielddamage  << "healthdamage" << healthdamage << std::endl;
     177
    179178                healthdamage += shielddamage-this->getShieldHealth();
    180179                this->setShieldHealth(0);
     
    186185            {
    187186                this->setShieldHealth(this->shieldHealth_ - shielddamage);
     187                COUT(1) << "damage" << damage  << "shieldAbsorption" << this->shieldAbsorption_ << std::endl;
     188                COUT(1) << "shielddamage" << shielddamage  << "healthdamage" << healthdamage << std::endl;
    188189                COUT(1) << "the shield takes its share of the damage and is left with " << this->getShieldHealth() << std::endl;
    189190            }
Note: See TracChangeset for help on using the changeset viewer.