summaryrefslogtreecommitdiff
path: root/src/mapnode.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-24 16:34:20 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-24 16:36:50 +0300
commit0cf1ed544c91a01b9c2098cd3e11a49c8f0c1ddb (patch)
tree018298ffb1bd65aacf4c946e9e52743228a77c2e /src/mapnode.cpp
parent558e284e25b5be14b700951269b027ac82a7b3ca (diff)
downloadminetest-0cf1ed544c91a01b9c2098cd3e11a49c8f0c1ddb.tar.gz
minetest-0cf1ed544c91a01b9c2098cd3e11a49c8f0c1ddb.tar.bz2
minetest-0cf1ed544c91a01b9c2098cd3e11a49c8f0c1ddb.zip
darkrose should work at a nuclear power plant.
It'd take years to figure out what caused the accident.
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r--src/mapnode.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index c616e0117..5dab93754 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -234,8 +234,10 @@ u32 MapNode::serializedLength(u8 version)
return 1;
else if(version <= 9)
return 2;
- else
+ else if(version <= 23)
return 3;
+ else
+ return 4;
}
void MapNode::serialize(u8 *dest, u8 version)
{