diff options
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++) |