From 6bb9de3cc63ea2e8a848ffda222a5e66cb7c5f45 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 3 Feb 2011 15:59:59 +0200 Subject: a little backwards compatibility with coal --- src/mapblock.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/mapblock.cpp') diff --git a/src/mapblock.cpp b/src/mapblock.cpp index b388a82c4..2c06fa82a 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -1676,6 +1676,23 @@ void MapBlock::deSerialize(std::istream &is, u8 version) data[i].param2 = s[i+nodecount*2]; } } + + /* + Translate nodes as specified in the translate_to fields of + node features + */ + for(u32 i=0; id<