Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4198 in orxonox.OLD for orxonox/branches/openAL/src/story_entities


Ignore:
Timestamp:
May 16, 2005, 4:41:58 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/openAL: patch, now it loads the wav from where it should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/openAL/src/story_entities/world.cc

    r4197 r4198  
    490490
    491491  SoundEngine::getInstance()->setListener(tn);
    492   SoundBuffer* tBuffer =new SoundBuffer("explo.wav");
     492  SoundBuffer* tBuffer =new SoundBuffer(ResourceManager::getFullName("sound/explo.wav"));
    493493  SoundSource* tSound = new SoundSource(tBuffer, this->localPlayer);
    494494  tSound->play();
Note: See TracChangeset for help on using the changeset viewer.