[Orxonox-commit 1881] r6598 - code/trunk/src/orxonox/controllers
scheusso at orxonox.net
scheusso at orxonox.net
Mon Mar 22 15:51:58 CET 2010
Author: scheusso
Date: 2010-03-22 15:51:58 +0100 (Mon, 22 Mar 2010)
New Revision: 6598
Modified:
code/trunk/src/orxonox/controllers/NewHumanController.cc
Log:
someone forgot to delete these overlays
Modified: code/trunk/src/orxonox/controllers/NewHumanController.cc
===================================================================
--- code/trunk/src/orxonox/controllers/NewHumanController.cc 2010-03-22 14:41:51 UTC (rev 6597)
+++ code/trunk/src/orxonox/controllers/NewHumanController.cc 2010-03-22 14:51:58 UTC (rev 6598)
@@ -184,17 +184,22 @@
if (this->centerOverlay_)
this->centerOverlay_->destroy();
- if (showArrows_)
- {
- if (this->arrowsOverlay1_)
- this->arrowsOverlay1_->destroy();
- if (this->arrowsOverlay2_)
- this->arrowsOverlay2_->destroy();
- if (this->arrowsOverlay3_)
- this->arrowsOverlay3_->destroy();
- if (this->arrowsOverlay4_)
- this->arrowsOverlay4_->destroy();
- }
+ if (this->arrowsOverlay1_)
+ this->arrowsOverlay1_->destroy();
+ if (this->arrowsOverlay2_)
+ this->arrowsOverlay2_->destroy();
+ if (this->arrowsOverlay3_)
+ this->arrowsOverlay3_->destroy();
+ if (this->arrowsOverlay4_)
+ this->arrowsOverlay4_->destroy();
+ if (this->damageOverlayTop_)
+ this->damageOverlayTop_->destroy();
+ if (this->damageOverlayLeft_)
+ this->damageOverlayLeft_->destroy();
+ if (this->damageOverlayRight_)
+ this->damageOverlayRight_->destroy();
+ if (this->damageOverlayBottom_)
+ this->damageOverlayBottom_->destroy();
}
}
More information about the Orxonox-commit
mailing list