aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-25 16:21:34 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-25 16:21:34 +0300
commit98c40f5ee61f482766a9e6eefbda011293124c4e (patch)
tree9ad76176258037a691e9119cb105d217eb209ae8
parentdb0928add3af6da67b1717933e92338f1030d5fb (diff)
downloadminetest-98c40f5ee61f482766a9e6eefbda011293124c4e.tar.gz
minetest-98c40f5ee61f482766a9e6eefbda011293124c4e.tar.bz2
minetest-98c40f5ee61f482766a9e6eefbda011293124c4e.zip
Switch sound randomizer postfixes from N.ogg to .N.ogg
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 6da26abfb..29872fb6e 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -839,8 +839,8 @@ bool Client::loadMedia(const std::string &data, const std::string &filename)
}
const char *sound_ext[] = {
- "0.ogg", "1.ogg", "2.ogg", "3.ogg", "4.ogg",
- "5.ogg", "6.ogg", "7.ogg", "8.ogg", "9.ogg",
+ ".0.ogg", ".1.ogg", ".2.ogg", ".3.ogg", ".4.ogg",
+ ".5.ogg", ".6.ogg", ".7.ogg", ".8.ogg", ".9.ogg",
".ogg", NULL
};
name = removeStringEnd(filename, sound_ext);