--- Irrlicht.old/include/SColor.h 2005-04-05 16:31:40.333628694 +0200 +++ Irrlicht/include/SColor.h 2005-04-08 15:07:11.698231533 +0200 @@ -32,10 +32,10 @@ return RGB16(color>>16, color>>8, color); } - //! Returns the red component from A1R5G5B5 color + //! Returns the alpha component from A1R5G5B5 color inline s32 getAlpha(s16 color) { - return ((color >> 11)&0x1); + return ((color >> 15)&0x1); } //! Returns the red component from A1R5G5B5 color.