summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:48:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitd3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (patch)
tree420c78c8ceda39895cce60849e3aeafedd41f081 /src/gui/minimap.cpp
parent576b7dca4676ba2c1ea63afb6bbc96fd11183048 (diff)
downloadmv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.gz
mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.bz2
mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.tar.xz
mv-d3994b21fda3e7d8ba417a382fc8f065a7bf1c52.zip
improve some mode methods in Client.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 4acf7944d..8b2ddef5e 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -153,7 +153,7 @@ void Minimap::setMap(const Map *const map)
SDL_UnlockSurface(surface);
mMapImage = imageHelper->load(surface);
- mMapImage->setAlpha(Client::getGuiAlpha());
+ mMapImage->setAlpha(client->getGuiAlpha());
mCustomMapImage = true;
SDL_FreeSurface(surface);
}