summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 1e186d7b..469f303e 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -341,9 +341,9 @@ void Image::drawPattern(SDL_Surface *screen, int x, int y, int w, int h)
}
}
-void Image::setAlpha(float alpha)
+void Image::setAlpha(float a)
{
- this->alpha = alpha;
+ alpha = a;
#ifndef USE_OPENGL
// Set the alpha value this image is drawn at