aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r--src/mapblock.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp
index 734ea478d..0996dd168 100644
--- a/src/mapblock.cpp
+++ b/src/mapblock.cpp
@@ -557,9 +557,10 @@ void MapBlock::deSerialize(std::istream &is, u8 version, bool disk)
void MapBlock::deSerializeNetworkSpecific(std::istream &is)
{
try {
- const u8 version = readU8(is);
- //if(version != 1)
- // throw SerializationError("unsupported MapBlock version");
+ readU8(is);
+ //const u8 version = readU8(is);
+ //if (version != 1)
+ //throw SerializationError("unsupported MapBlock version");
} catch(SerializationError &e) {
warningstream<<"MapBlock::deSerializeNetworkSpecific(): Ignoring an error"