several bugfixes to squirrel serialisation code, serializer/load worldmap state from...
[supertux.git] / src / scripting / sound.cpp
index bf1c110..37ee32e 100644 (file)
@@ -16,12 +16,9 @@ namespace Scripting
   {}
 
   void
-  Sound::play_music(const std::string& name)
+  Sound::play_music(const std::string& filename)
   {
-    std::string filename = "music/";
-    filename += name;
-    filename += ".ogg";
-    sound_manager->play_music(name);
+    sound_manager->play_music(filename);
   }
 
   void