diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 22:48:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | d3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (patch) | |
tree | 420c78c8ceda39895cce60849e3aeafedd41f081 /src/gui/widgets/playerbox.cpp | |
parent | 576b7dca4676ba2c1ea63afb6bbc96fd11183048 (diff) | |
download | plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.gz plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.bz2 plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.xz plus-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.zip |
improve some mode methods in Client.
Diffstat (limited to 'src/gui/widgets/playerbox.cpp')
-rw-r--r-- | src/gui/widgets/playerbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp index 20260b9ac..6a5c815d4 100644 --- a/src/gui/widgets/playerbox.cpp +++ b/src/gui/widgets/playerbox.cpp @@ -126,9 +126,9 @@ void PlayerBox::draw(gcn::Graphics *graphics) mBeing->drawSpriteAt(static_cast<Graphics*>(graphics), x, y); } - if (Client::getGuiAlpha() != mAlpha) + if (client->getGuiAlpha() != mAlpha) { - const float alpha = Client::getGuiAlpha(); + const float alpha = client->getGuiAlpha(); for (int a = 0; a < 9; a++) { if (mBackground.grid[a]) |