Changeset 8495 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jun 15, 2006, 9:50:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/helicopter.cc
r8408 r8495 107 107 if (this->chopperBuffer != NULL) 108 108 ResourceManager::getInstance()->unload(this->chopperBuffer); 109 this->chopperBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/ chopper.wav", WAV);109 this->chopperBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/engine/chopper.wav", WAV); 110 110 111 111 } … … 219 219 State::getCameraTargetNode()->setParentSoft(this->getWeaponManager().getFixedTarget()); 220 220 221 this->soundSource.loop(this->chopperBuffer, 0.8f); 222 // PRINTF(0)( "Playing ChopperSound\n" ); 221 this->soundSource.play(this->chopperBuffer, 0.7f, true); 223 222 } 224 223
Note: See TracChangeset
for help on using the changeset viewer.