diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-24 01:20:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-24 01:20:43 +0300 |
commit | a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e (patch) | |
tree | 44306e2fb7f38c44ca9ca89a9e21a76b912169ca /src/gui/minimap.cpp | |
parent | 2bcfc80fe18a7239e2eae5600e4ed118e038da32 (diff) | |
download | mv-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.tar.gz mv-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.tar.bz2 mv-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.tar.xz mv-a3360d4c38e8dd43d6e71cc4bd38f8dc96040b2e.zip |
Dehardcode some old paths.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 4 |
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"); |