Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8504


Ignore:
Timestamp:
May 18, 2011, 3:19:47 PM (14 years ago)
Author:
rgrieder
Message:

Destructor code should be enclosed in this→isInitialized().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/bigships/src/orxonox/worldentities/pawns/SpaceShip.cc

    r8503 r8504  
    8585    {
    8686        if (this->isInitialized())
     87        {
    8788            this->removeAllEngines();
    8889               
    89         if (this->boostBlur_)
    90             this->boostBlur_->destroy();
     90            if (this->boostBlur_)
     91                this->boostBlur_->destroy();
     92        }
    9193    }
    9294
Note: See TracChangeset for help on using the changeset viewer.