summaryrefslogtreecommitdiff
path: root/src/mapsector.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-26 01:31:43 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-26 01:31:43 +0300
commit2915bd5518150955ed1581110527f4bb4adadfe8 (patch)
tree142947902c6ec80bbe36d949e4af6e7496c27906 /src/mapsector.cpp
parentcb130d9158dc4e9c456d088d5e214b7d829ccc3a (diff)
downloadminetest-2915bd5518150955ed1581110527f4bb4adadfe8.tar.gz
minetest-2915bd5518150955ed1581110527f4bb4adadfe8.tar.bz2
minetest-2915bd5518150955ed1581110527f4bb4adadfe8.zip
more reorganizing of map code
Diffstat (limited to 'src/mapsector.cpp')
-rw-r--r--src/mapsector.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapsector.cpp b/src/mapsector.cpp
index 389714f40..4a526c412 100644
--- a/src/mapsector.cpp
+++ b/src/mapsector.cpp
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "exceptions.h"
#include "mapblock.h"
-MapSector::MapSector(NodeContainer *parent, v2s16 pos):
+MapSector::MapSector(Map *parent, v2s16 pos):
differs_from_disk(false),
m_parent(parent),
m_pos(pos),
@@ -151,7 +151,7 @@ void MapSector::getBlocks(core::list<MapBlock*> &dest)
ServerMapSector
*/
-ServerMapSector::ServerMapSector(NodeContainer *parent, v2s16 pos):
+ServerMapSector::ServerMapSector(Map *parent, v2s16 pos):
MapSector(parent, pos)
{
}
@@ -184,7 +184,7 @@ void ServerMapSector::serialize(std::ostream &os, u8 version)
ServerMapSector* ServerMapSector::deSerialize(
std::istream &is,
- NodeContainer *parent,
+ Map *parent,
v2s16 p2d,
core::map<v2s16, MapSector*> & sectors
)
@@ -247,7 +247,7 @@ ServerMapSector* ServerMapSector::deSerialize(
ClientMapSector
*/
-ClientMapSector::ClientMapSector(NodeContainer *parent, v2s16 pos):
+ClientMapSector::ClientMapSector(Map *parent, v2s16 pos):
MapSector(parent, pos)
{
}