Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8495 in orxonox.OLD for trunk/src/world_entities/space_ships


Ignore:
Timestamp:
Jun 15, 2006, 9:50:56 PM (19 years ago)
Author:
bensch
Message:

merged the branche atmos back. no conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/helicopter.cc

    r8408 r8495  
    107107  if (this->chopperBuffer != NULL)
    108108    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);
    110110
    111111}
     
    219219  State::getCameraTargetNode()->setParentSoft(this->getWeaponManager().getFixedTarget());
    220220
    221   this->soundSource.loop(this->chopperBuffer, 0.8f);
    222   // PRINTF(0)( "Playing ChopperSound\n" );
     221  this->soundSource.play(this->chopperBuffer, 0.7f, true);
    223222}
    224223
Note: See TracChangeset for help on using the changeset viewer.