diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-06-05 00:10:06 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-06-05 00:10:06 +0300 |
commit | a649d43fe7349e5cfa4c67de93377004902c1b07 (patch) | |
tree | 9a9b58f29a1c8690f118318420d9606c58f26c1f /src/mapblock.cpp | |
parent | f07e445f80c6666b3d4713c85e668aaa5b086f16 (diff) | |
download | minetest-a649d43fe7349e5cfa4c67de93377004902c1b07.tar.gz minetest-a649d43fe7349e5cfa4c67de93377004902c1b07.tar.bz2 minetest-a649d43fe7349e5cfa4c67de93377004902c1b07.zip |
Messed around with genmap.py. Now supports format version 17.
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r-- | src/mapblock.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp index e31596b9c..1ebdd6b0d 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -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++) |