mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Remove unsupported formats from the media enumerator
This commit is contained in:
parent
28c98f9fa5
commit
1e2b638881
@ -2438,10 +2438,9 @@ bool Server::addMediaFile(const std::string &filename,
|
||||
}
|
||||
// If name is not in a supported format, ignore it
|
||||
const char *supported_ext[] = {
|
||||
".png", ".jpg", ".bmp", ".tga",
|
||||
".pcx", ".ppm", ".psd", ".wal", ".rgb",
|
||||
".png", ".jpg", ".bmp",
|
||||
".ogg",
|
||||
".x", ".b3d", ".md2", ".obj",
|
||||
".x", ".b3d", ".obj",
|
||||
// Custom translation file format
|
||||
".tr",
|
||||
NULL
|
||||
|
Loading…
Reference in New Issue
Block a user