projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3236032
)
hopefully fixed a bit more
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 10 Apr 2011 21:24:32 +0000
(
00:24
+0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 10 Apr 2011 21:24:32 +0000
(
00:24
+0300)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index ff823af94aaf05bf24da6d4650f17f515407134f..2d16710b1812cad33a25617557e662cf19aca675 100644
(file)
--- 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");