diff --git a/code/nel/src/misc/bitmap_jpeg.cpp b/code/nel/src/misc/bitmap_jpeg.cpp index ebc14e11a..835110d86 100644 --- a/code/nel/src/misc/bitmap_jpeg.cpp +++ b/code/nel/src/misc/bitmap_jpeg.cpp @@ -158,7 +158,7 @@ uint8 CBitmap::readJPG( NLMISC::IStream &f ) { dstChannels = 1; srcChannels = 1; - resize (cinfo.image_width, cinfo.image_height, Luminance); + resize (cinfo.image_width, cinfo.image_height, _LoadGrayscaleAsAlpha ? Alpha : Luminance); } else {