Changeset 7848 for code/trunk/src/modules/weapons/projectiles
- Timestamp:
- Feb 10, 2011, 6:05:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/Rocket.cc
r7163 r7848 88 88 this->defSndWpnEngine_->setLooping(true); 89 89 this->defSndWpnEngine_->setSource("sounds/Rocket_engine.ogg"); 90 this->defSndWpnEngine_->setVolume(1 00);90 this->defSndWpnEngine_->setVolume(1.0f); 91 91 this->attach(defSndWpnEngine_); 92 92 … … 94 94 this->defSndWpnLaunch_->setLooping(false); 95 95 this->defSndWpnLaunch_->setSource("sounds/Rocket_launch.ogg"); 96 this->defSndWpnLaunch_->setVolume(1 00);96 this->defSndWpnLaunch_->setVolume(1.0f); 97 97 this->attach(defSndWpnLaunch_); 98 98 } … … 238 238 // } 239 239 } 240 240 241 241 void Rocket::destructionEffect() 242 242 { … … 252 252 effect2 = new ParticleSpawner(static_cast<BaseObject*>(this->getScene().get())); 253 253 } 254 254 255 255 effect1->setPosition(this->getPosition()); 256 256 effect1->setOrientation(this->getOrientation()); … … 258 258 effect1->setSource("Orxonox/explosion4"); 259 259 effect1->setLifetime(2.0f); 260 260 261 261 effect2->setPosition(this->getPosition()); 262 262 effect2->setOrientation(this->getOrientation());
Note: See TracChangeset
for help on using the changeset viewer.