]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/tile.cpp
Readd TGA to the list of valid texture formats. (#11598)
[dragonfireclient.git] / src / client / tile.cpp
index 15ae5472d2fab560e5ba90cb25baf2ff60a50a7e..a31e3aca16b4783be167bff6a1cf02088d68fc84 100644 (file)
@@ -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";