hopefully fixed a bit more

master
Perttu Ahola 2011-04-11 00:24:32 +03:00
parent 3236032101
commit 032882ae05
1 changed files with 2 additions and 1 deletions

View File

@ -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");