From 038ff8d79bb5044145cc2f87a8df1ce732209e4d Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 16 May 2003 11:34:56 +0000 Subject: [PATCH] corrected call to Image_HasAlpha to be Image_CheckAlpha git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3000 d7cf8633-e32d-0410-b094-e92efae38249 --- image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.c b/image.c index 8a46f44f..23eb76b4 100644 --- a/image.c +++ b/image.c @@ -1428,7 +1428,7 @@ int image_loadskin(imageskin_t *s, char *name) s->basepixels_height = image_height; bumppixels = NULL;bumppixels_width = 0;bumppixels_height = 0; - if (Image_HasAlpha(s->basepixels, s->basepixels_width * s->basepixels_height, true)) + if (Image_CheckAlpha(s->basepixels, s->basepixels_width * s->basepixels_height, true)) { s->maskpixels = Mem_Alloc(loadmodel->mempool, s->basepixels_width * s->basepixels_height * 4); s->maskpixels_width = s->basepixels_width; -- 2.39.2