Changeset 10214 for code/branches/presentationFS14/src
- Timestamp:
- Jan 31, 2015, 4:54:16 PM (10 years ago)
- Location:
- code/branches/presentationFS14/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14/src/orxonox/items/PartDestructionEvent.cc
r10073 r10214 121 121 switch (this->targetParam_) { 122 122 case null: 123 this->parent_->getParent()-> removeEngine(this->parent_->getParent()->getEngineByName(targetName_));123 this->parent_->getParent()->getEngineByName(targetName_)->destroy(); 124 124 break; 125 125 case boostfactor: -
code/branches/presentationFS14/src/orxonox/worldentities/pawns/SpaceShip.cc
r10211 r10214 373 373 @param engine 374 374 A pointer to the Engine to be removed. 375 @note 376 Don't forget to reset the Engine's ship pointer after it was removed (or destroy the engine). 375 377 */ 376 378 void SpaceShip::removeEngine(Engine* engine)
Note: See TracChangeset
for help on using the changeset viewer.