[Orxonox-commit 2180] r6896 - code/branches/ppspickups3/src/orxonox/worldentities/pawns

benedict at orxonox.net benedict at orxonox.net
Mon May 10 17:02:26 CEST 2010


Author: benedict
Date: 2010-05-10 17:02:26 +0200 (Mon, 10 May 2010)
New Revision: 6896

Modified:
   code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc
Log:
spamming the server


Modified: code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc
===================================================================
--- code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc	2010-05-10 14:57:42 UTC (rev 6895)
+++ code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc	2010-05-10 15:02:26 UTC (rev 6896)
@@ -184,7 +184,7 @@
             if (this->getShieldHealth() > 0)
             {
                 this->setShieldHealth(this->shieldHealth_ - shielddamage);
-                COUT(1) << "damage " << damage  << " shieldAbsorption " << this->shieldAbsorption_ << std::endl;
+                COUT(1) << "damage " << damage  << " getShieldAbsorption " << getShieldAbsorption() << std::endl;
                 COUT(1) << "shielddamage " << shielddamage  << " healthdamage " << healthdamage << std::endl;
                 COUT(1) << "the shield takes its share of the damage and is left with " << this->getShieldHealth() << std::endl;
             }




More information about the Orxonox-commit mailing list