]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
reworked transparency in palettes, made palette_complete be strictly opaque, added...
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 549ca9c1afc9de9bdaf3c6a9f57c4e67044848a1..aeaca35c8ab50d6342af77a8d8890f2ccbcca2d0 100644 (file)
--- a/image.c
+++ b/image.c
@@ -571,7 +571,7 @@ unsigned char *LoadLMP (const unsigned char *f, int filesize, int matchwidth, in
        else
        {
                image_buffer = (unsigned char *)Mem_Alloc(tempmempool, image_width * image_height * 4);
-               Image_Copy8bitRGBA(f + 8, image_buffer, image_width * image_height, palette_complete);
+               Image_Copy8bitRGBA(f + 8, image_buffer, image_width * image_height, palette_transparent);
        }
        return image_buffer;
 }