]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Sounds.cpp
Remove more commented-out code. Out of sight, out of mind
[lugaru.git] / Source / Sounds.cpp
index d0fa7f49fcebba93611289a854d886918b0295d9..96e18fd03157752e700489a6df1b984cf9a43b91 100644 (file)
@@ -99,3 +99,11 @@ emit_stream_at(int soundid, const XYZ &pos, float vol)
   OPENAL_SetPaused (channels[soundid], false);
 }
 
+void
+emit_stream_np(int soundid, float vol)
+{
+  PlayStreamEx (soundid, samp[soundid], NULL, true);
+  OPENAL_SetVolume (channels[soundid], vol);
+  OPENAL_SetPaused (channels[soundid], false);
+}
+