From dcba44a20e622ec38d536fb03c0c8404e9399f80 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 Jun 2012 02:53:26 +0300 Subject: Fix code style. --- src/resources/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/image.cpp') diff --git a/src/resources/image.cpp b/src/resources/image.cpp index b060be6f4..3c5a2a97e 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -241,7 +241,7 @@ void Image::setAlpha(float alpha) mAlpha = alpha; - if (!hasAlphaChannel()) + if (!mHasAlphaChannel) { // Set the alpha value this image is drawn at SDL_SetAlpha(mSDLSurface, SDL_SRCALPHA, -- cgit v1.2.3-60-g2f50