Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 22, 2010, 3:51:58 PM (15 years ago)
Author:
scheusso
Message:

someone forgot to delete these overlays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/NewHumanController.cc

    r6502 r6598  
    185185                this->centerOverlay_->destroy();
    186186
    187             if (showArrows_)
    188             {
    189                 if (this->arrowsOverlay1_)
    190                     this->arrowsOverlay1_->destroy();
    191                 if (this->arrowsOverlay2_)
    192                     this->arrowsOverlay2_->destroy();
    193                 if (this->arrowsOverlay3_)
    194                     this->arrowsOverlay3_->destroy();
    195                 if (this->arrowsOverlay4_)
    196                     this->arrowsOverlay4_->destroy();
    197             }
     187            if (this->arrowsOverlay1_)
     188                this->arrowsOverlay1_->destroy();
     189            if (this->arrowsOverlay2_)
     190                this->arrowsOverlay2_->destroy();
     191            if (this->arrowsOverlay3_)
     192                this->arrowsOverlay3_->destroy();
     193            if (this->arrowsOverlay4_)
     194                this->arrowsOverlay4_->destroy();
     195            if (this->damageOverlayTop_)
     196                this->damageOverlayTop_->destroy();
     197            if (this->damageOverlayLeft_)
     198                this->damageOverlayLeft_->destroy();
     199            if (this->damageOverlayRight_)
     200                this->damageOverlayRight_->destroy();
     201            if (this->damageOverlayBottom_)
     202                this->damageOverlayBottom_->destroy();
    198203        }
    199204    }
Note: See TracChangeset for help on using the changeset viewer.