From: Perttu Ahola Date: Sun, 25 Mar 2012 13:21:34 +0000 (+0300) Subject: Switch sound randomizer postfixes from N.ogg to .N.ogg X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=98c40f5ee61f482766a9e6eefbda011293124c4e;p=zefram%2Fminetest%2Fminetest_engine.git Switch sound randomizer postfixes from N.ogg to .N.ogg --- diff --git a/src/client.cpp b/src/client.cpp index 6da26abf..29872fb6 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);