Changeset 2982 for code/branches/sound/src/orxonox/objects
- Timestamp:
- May 18, 2009, 3:38:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound/src/orxonox/objects/items/Engine.cc
r2980 r2982 78 78 delete this->boostBlur_; 79 79 } 80 81 if(this->sound_ != NULL) 82 delete this->sound_; 80 83 } 81 84 … … 222 225 { 223 226 this->ship_ = ship; 224 this->sound_->attachToEntity(ship); 227 228 if(this->sound_ != NULL) 229 this->sound_->attachToEntity(ship); 225 230 226 231 if (ship)
Note: See TracChangeset
for help on using the changeset viewer.