diff options
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index c74521817..390fb9e3d 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -35,6 +35,8 @@ #include "fs/virtfs/fs.h" +#include "render/graphics.h" + #include "resources/map/map.h" #include "resources/map/mapheights.h" #include "resources/map/maplayer.h" @@ -360,6 +362,8 @@ Map *MapReader::readMap(XmlNodePtrConst node, const std::string &path) w, h, tilew, tileh); + map->screenResized(); + const std::string fileName = path.substr(path.rfind(dirSeparator) + 1); map->setProperty("shortName", fileName); |