mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Switch sound randomizer postfixes from N.ogg to .N.ogg
This commit is contained in:
@@ -839,8 +839,8 @@ bool Client::loadMedia(const std::string &data, const std::string &filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char *sound_ext[] = {
|
const char *sound_ext[] = {
|
||||||
"0.ogg", "1.ogg", "2.ogg", "3.ogg", "4.ogg",
|
".0.ogg", ".1.ogg", ".2.ogg", ".3.ogg", ".4.ogg",
|
||||||
"5.ogg", "6.ogg", "7.ogg", "8.ogg", "9.ogg",
|
".5.ogg", ".6.ogg", ".7.ogg", ".8.ogg", ".9.ogg",
|
||||||
".ogg", NULL
|
".ogg", NULL
|
||||||
};
|
};
|
||||||
name = removeStringEnd(filename, sound_ext);
|
name = removeStringEnd(filename, sound_ext);
|
||||||
|
Reference in New Issue
Block a user