diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-13 17:44:46 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-13 17:44:46 +0000 |
commit | fc8760599dfd730d416bb2c646e17c5dd7dd132e (patch) | |
tree | 412419e83e111a9c9cb3ed6247375b1db20164b9 /src | |
parent | 8003fcc9f42a42170a16bdf976bb73fdf34a761e (diff) | |
download | mana-client-fc8760599dfd730d416bb2c646e17c5dd7dd132e.tar.gz mana-client-fc8760599dfd730d416bb2c646e17c5dd7dd132e.tar.bz2 mana-client-fc8760599dfd730d416bb2c646e17c5dd7dd132e.tar.xz mana-client-fc8760599dfd730d416bb2c646e17c5dd7dd132e.zip |
Minor fix for a situation thatwe shouldn't ever need to encounter, but
is nice to have anyways.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine.cpp | 4 |
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); |