summaryrefslogtreecommitdiffstats
path: root/src/sound/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/sound.cpp')
-rw-r--r--src/sound/sound.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sound/sound.cpp b/src/sound/sound.cpp
index c4b30b5..9cae1fd 100644
--- a/src/sound/sound.cpp
+++ b/src/sound/sound.cpp
@@ -41,20 +41,19 @@ bool CSoundInterface::Create()
return true;
}
-void CSoundInterface::CacheAll(const std::string &path)
+void CSoundInterface::CacheAll()
{
for ( int i = 1; i < SOUND_MAX; i++ )
{
std::stringstream filename;
- filename << path << "/sound" << std::setfill('0') << std::setw(3) << i << ".wav";
+ filename << "sound" << std::setfill('0') << std::setw(3) << i << ".wav";
if ( !Cache(static_cast<Sound>(i), filename.str()) )
GetLogger()->Warn("Unable to load audio: %s\n", filename.str().c_str());
}
}
-void CSoundInterface::AddMusicFiles(const std::string &path)
+void CSoundInterface::AddMusicFiles()
{
- m_soundPath = path;
CacheMusic("Intro1.ogg");
CacheMusic("Intro2.ogg");
CacheMusic("music010.ogg");