mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Messed around with genmap.py. Now supports format version 17.
This commit is contained in:
parent
f07e445f80
commit
a649d43fe7
5 changed files with 241 additions and 56 deletions
|
@ -2450,7 +2450,8 @@ void MapBlock::deSerialize(std::istream &is, u8 version)
|
|||
std::string s = os.str();
|
||||
if(s.size() != nodecount*3)
|
||||
throw SerializationError
|
||||
("MapBlock::deSerialize: invalid format");
|
||||
("MapBlock::deSerialize: decompress resulted in size"
|
||||
" other than nodecount*3");
|
||||
|
||||
// Set contents
|
||||
for(u32 i=0; i<nodecount; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue