summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index afd4e14f4..31d0a716b 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -64,7 +64,7 @@ SpellShortcutContainer::SpellShortcutContainer(const unsigned number) :
if (mBackgroundImg)
{
- mBackgroundImg->setAlpha(Client::getGuiAlpha());
+ mBackgroundImg->setAlpha(client->getGuiAlpha());
mBoxHeight = mBackgroundImg->getHeight();
mBoxWidth = mBackgroundImg->getWidth();
}
@@ -98,9 +98,9 @@ void SpellShortcutContainer::draw(gcn::Graphics *graphics)
return;
BLOCK_START("SpellShortcutContainer::draw")
- if (Client::getGuiAlpha() != mAlpha)
+ if (client->getGuiAlpha() != mAlpha)
{
- mAlpha = Client::getGuiAlpha();
+ mAlpha = client->getGuiAlpha();
if (mBackgroundImg)
mBackgroundImg->setAlpha(mAlpha);
}