]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
added more image search paths so that md2 model skins load properly again, and to...
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 1bc4a85d91ed4d0b9e560404023a7fa2d682a35d..529d7472e1e3425d489d33b993c82df77175ecef 100644 (file)
--- a/image.c
+++ b/image.c
@@ -801,17 +801,22 @@ imageformat_t imageformats_tenebrae[] =
        {"override/%s.tga", LoadTGA},
        {"override/%s.png", PNG_LoadImage},
        {"override/%s.jpg", JPEG_LoadImage},
+       {"override/%s.pcx", LoadPCX},
        {NULL, NULL}
 };
 
 imageformat_t imageformats_nopath[] =
 {
+       {"override/%s.tga", LoadTGA},
+       {"override/%s.png", PNG_LoadImage},
+       {"override/%s.jpg", JPEG_LoadImage},
        {"textures/%s.tga", LoadTGA},
        {"textures/%s.png", PNG_LoadImage},
        {"textures/%s.jpg", JPEG_LoadImage},
        {"%s.tga", LoadTGA},
        {"%s.png", PNG_LoadImage},
        {"%s.jpg", JPEG_LoadImage},
+       {"%s.pcx", LoadPCX},
        {NULL, NULL}
 };