summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r--src/being/compoundsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp
index 9bf691d9a..261532be8 100644
--- a/src/being/compoundsprite.cpp
+++ b/src/being/compoundsprite.cpp
@@ -63,7 +63,7 @@ CompoundSprite::CompoundSprite() :
mDisableAdvBeingCaching(config.getBoolValue("disableAdvBeingCaching")),
mDisableBeingCaching(config.getBoolValue("disableBeingCaching"))
{
- mAlpha = 1.0f;
+ mAlpha = 1.0F;
}
CompoundSprite::~CompoundSprite()
@@ -119,7 +119,7 @@ bool CompoundSprite::draw(Graphics *const graphics,
if (mSprites.empty()) // Nothing to draw
return false;
- if (mAlpha == 1.0f && mImage)
+ if (mAlpha == 1.0F && mImage)
{
return graphics->drawImage(mImage, posX + mOffsetX, posY + mOffsetY);
}