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/main.cpp | 2 ++ src/map.cpp | 6 ++++-- src/mapblock.cpp | 3 ++- src/serialization.cpp | 6 +++--- 4 files changed, 11 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 4bf741b96..2c85c2595 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -223,6 +223,8 @@ FIXME: The new optimized map sending doesn't sometimes send enough blocks * Take player's walking direction into account in GetNextBlocks +TODO: Map saving should be done by EmergeThread + Environment: ------------ diff --git a/src/map.cpp b/src/map.cpp index f9809e9fd..579f30e9a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -5540,9 +5540,11 @@ void ServerMap::loadBlock(std::string sectordir, std::string blockfile, MapSecto catch(SerializationError &e) { dstream<<"WARNING: Invalid block data on disk " - "(SerializationError). Ignoring. " - "A new one will be generated." + "(SerializationError). " + "what()="<