summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index e4361f96..c8fee995 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -113,6 +113,10 @@ void Engine::changeMap(const std::string &mapPath)
{
minimap->setProportion(atof(newMap->getProperty("minimapproportion").c_str()));
}
+ else
+ {
+ minimap->setProportion(0.5);
+ }
}
minimap->setMapImage(mapImage);
beingManager->setMap(newMap);