From a649d43fe7349e5cfa4c67de93377004902c1b07 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 5 Jun 2011 00:10:06 +0300 Subject: Messed around with genmap.py. Now supports format version 17. --- src/mapblock.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mapblock.cpp') 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