diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-11 00:24:32 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-11 00:24:32 +0300 |
commit | 032882ae05d8c1b0a07a84251b328015fc737491 (patch) | |
tree | da06261893cacfb87ccad56bbccd2d5979b96ed8 /src | |
parent | 32360321018b83cb7b2c2018f6f477c70b9f633b (diff) | |
download | minetest-032882ae05d8c1b0a07a84251b328015fc737491.tar.gz minetest-032882ae05d8c1b0a07a84251b328015fc737491.tar.bz2 minetest-032882ae05d8c1b0a07a84251b328015fc737491.zip |
hopefully fixed a bit more
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index ff823af94..2d16710b1 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -5136,7 +5136,8 @@ MapSector* ServerMap::loadSectorMeta(std::string dirname) <<fullpath<<" doesn't exist but directory does." <<" Continuing with a sector with no metadata." <<std::endl; - sector = createSector(p2d); + sector = new ServerMapSector(this, p2d); + m_sectors.insert(p2d, sector); } else throw FileNotGoodException("Cannot open sector metafile"); |