projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db0928a
)
Switch sound randomizer postfixes from N.ogg to .N.ogg
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 25 Mar 2012 13:21:34 +0000
(16:21 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 25 Mar 2012 13:21:34 +0000
(16:21 +0300)
src/client.cpp
patch
|
blob
|
history
diff --git
a/src/client.cpp
b/src/client.cpp
index 6da26abfbc96dcd5fb3f3a5d6eccf2b28d7dd78a..29872fb6ef08de374e93476399de17d1286952b2 100644
(file)
--- 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);