summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.cpp')
-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");