From 6fedee16f098549ffaee188b02b777239513abc3 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Wed, 15 Sep 2021 12:12:24 +0200 Subject: Readd TGA to the list of valid texture formats. (#11598) --- src/client/tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/tile.cpp b/src/client/tile.cpp index 15ae5472d..a31e3aca1 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -81,7 +81,7 @@ static bool replace_ext(std::string &path, const char *ext) std::string getImagePath(std::string path) { // A NULL-ended list of possible image extensions - const char *extensions[] = { "png", "jpg", "bmp", NULL }; + const char *extensions[] = { "png", "jpg", "bmp", "tga", NULL }; // If there is no extension, assume PNG if (removeStringEnd(path, extensions).empty()) path = path + ".png"; -- cgit v1.2.3