From: havoc Date: Thu, 8 Jun 2006 10:57:55 +0000 (+0000) Subject: added more image search paths so that md2 model skins load properly again, and to... X-Git-Tag: xonotic-v0.1.0preview~3940 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=9cf927920f5556ea9784ab437f45f1d3f76e9cb0;p=xonotic%2Fdarkplaces.git added more image search paths so that md2 model skins load properly again, and to reduce problems for tenebrae model packs git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6437 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/image.c b/image.c index 1bc4a85d..529d7472 100644 --- 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} };