[Orxonox-commit 2177] r6893 - code/branches/ppspickups3/src/orxonox/worldentities/pawns
ebeier at orxonox.net
ebeier at orxonox.net
Mon May 10 16:49:45 CEST 2010
Author: ebeier
Date: 2010-05-10 16:49:45 +0200 (Mon, 10 May 2010)
New Revision: 6893
Modified:
code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc
Log:
more cout yeahhhhhh
Modified: code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc
===================================================================
--- code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc 2010-05-10 14:41:26 UTC (rev 6892)
+++ code/branches/ppspickups3/src/orxonox/worldentities/pawns/Pawn.cc 2010-05-10 14:49:45 UTC (rev 6893)
@@ -174,6 +174,8 @@
if (shielddamage > this->getShieldHealth())
{
COUT(1) << "the shield is too weak to take its share of the damage!" << std::endl;
+ COUT(1) << "damage" << damage << "shieldAbsorption" << this->shieldAbsorption_ << std::endl;
+ COUT(1) << "shielddamage" << shielddamage << "healthdamage" << healthdamage << std::endl;
healthdamage += shielddamage-this->getShieldHealth();
this->setShieldHealth(0);
}
More information about the Orxonox-commit
mailing list