summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-24 01:20:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-24 01:20:43 +0300
commita3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e (patch)
tree44306e2fb7f38c44ca9ca89a9e21a76b912169ca /src/gui
parent2bcfc80fe18a7239e2eae5600e4ed118e038da32 (diff)
downloadplus-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.tar.gz
plus-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.tar.bz2
plus-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.tar.xz
plus-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.zip
Dehardcode some old paths.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 9c7ab76cb..e4bf62ec6 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -149,8 +149,8 @@ void Minimap::setMap(Map *map)
}
else
{
- std::string tempname =
- "graphics/minimaps/" + map->getFilename() + ".png";
+ std::string tempname = paths.getStringValue("minimaps")
+ + "graphics/minimaps/" + map->getFilename() + ".png";
ResourceManager *resman = ResourceManager::getInstance();
minimapName = map->getProperty("minimap");