summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-24 03:28:08 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-24 04:24:26 +0200
commit93219e3b9d2eae11a447556dfe837706baeff22a (patch)
tree73b26a9e1bae4375d3c966ac037a3d2602f225ad /src/sound.h
parent77120a021df955947841f9646cb61d67a272618b (diff)
downloadminetest-93219e3b9d2eae11a447556dfe837706baeff22a.tar.gz
minetest-93219e3b9d2eae11a447556dfe837706baeff22a.tar.bz2
minetest-93219e3b9d2eae11a447556dfe837706baeff22a.zip
Add sounds, tune things
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.h b/src/sound.h
index 6363d614e..7f6e4141e 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -61,7 +61,7 @@ public:
virtual void updateListener(v3f pos, v3f vel, v3f at, v3f up) = 0;
// playSound functions return -1 on failure, otherwise a handle to the
- // sound
+ // sound. If name=="", call should be ignored without error.
virtual int playSound(const std::string &name, bool loop,
float volume) = 0;
virtual int playSoundAt(const std::string &name, bool loop,