Changeset 8654
- Timestamp:
- May 29, 2011, 9:58:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/items/Engine.cc
r8648 r8654 72 72 Engine::~Engine() 73 73 { 74 if( this->ship_ && this->ship_->hasEngine(this) ) 75 this->ship_->removeEngine(this); 74 if (this->isInitialized()) 75 { 76 if (this->ship_ && this->ship_->hasEngine(this)) 77 this->ship_->removeEngine(this); 78 } 76 79 } 77 80
Note: See TracChangeset
for help on using the changeset viewer.