]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added more image search paths so that md2 model skins load properly again, and to...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 Jun 2006 10:57:55 +0000 (10:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 Jun 2006 10:57:55 +0000 (10:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6437 d7cf8633-e32d-0410-b094-e92efae38249

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}
 };