diff options
author | hecks <42101236+hecktest@users.noreply.github.com> | 2021-07-29 22:36:25 +0200 |
---|---|---|
committer | hecks <42101236+hecktest@users.noreply.github.com> | 2021-07-29 22:42:47 +0200 |
commit | 1e2b6388818fec0d4cdc52f796850bfb7ec3a22e (patch) | |
tree | 601297d389f475665843e887d43d7e13ff72cdfc /src/server.cpp | |
parent | 28c98f9fa54ea64d094b530f2f87c4e5e1c19bd6 (diff) | |
download | minetest-1e2b6388818fec0d4cdc52f796850bfb7ec3a22e.tar.gz minetest-1e2b6388818fec0d4cdc52f796850bfb7ec3a22e.tar.bz2 minetest-1e2b6388818fec0d4cdc52f796850bfb7ec3a22e.zip |
Remove unsupported formats from the media enumerator
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server.cpp b/src/server.cpp index 4d2cd8e55..8339faa76 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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 |