mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 00:47:29 +01:00
Remove unsupported media formats from client.cpp
This commit is contained in:
parent
6a328197a5
commit
5b6bc8a12b
@ -770,7 +770,6 @@ bool Client::loadMedia(const std::string &data, const std::string &filename,
|
||||
|
||||
const char *image_ext[] = {
|
||||
".png", ".jpg", ".bmp", ".tga",
|
||||
".pcx", ".ppm", ".psd", ".wal", ".rgb",
|
||||
NULL
|
||||
};
|
||||
name = removeStringEnd(filename, image_ext);
|
||||
@ -818,7 +817,7 @@ bool Client::loadMedia(const std::string &data, const std::string &filename,
|
||||
}
|
||||
|
||||
const char *model_ext[] = {
|
||||
".x", ".b3d", ".md2", ".obj",
|
||||
".x", ".b3d", ".obj",
|
||||
NULL
|
||||
};
|
||||
name = removeStringEnd(filename, model_ext);
|
||||
|
Loading…
Reference in New Issue
Block a user