mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
partly working chunk-based map generator (doesn't save properly, spawn is pretty random)
This commit is contained in:
parent
be851871cd
commit
6e196c2ce4
13 changed files with 1370 additions and 126 deletions
|
@ -570,10 +570,15 @@ ServerMapSector* ServerMapSector::deSerialize(
|
|||
|
||||
if(n != NULL)
|
||||
{
|
||||
dstream<<"deSerializing existent sectors not supported "
|
||||
dstream<<"WARNING: deSerializing existent sectors not supported "
|
||||
"at the moment, because code hasn't been tested."
|
||||
<<std::endl;
|
||||
assert(0);
|
||||
|
||||
//assert(0);
|
||||
MapSector *sector = n->getValue();
|
||||
assert(sector->getId() == MAPSECTOR_SERVER);
|
||||
return (ServerMapSector*)sector;
|
||||
|
||||
// NOTE: At least hm_split mismatch would have to be checked
|
||||
|
||||
//sector = n->getValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue