aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-05 00:10:06 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-05 00:10:06 +0300
commita649d43fe7349e5cfa4c67de93377004902c1b07 (patch)
tree9a9b58f29a1c8690f118318420d9606c58f26c1f /src/map.cpp
parentf07e445f80c6666b3d4713c85e668aaa5b086f16 (diff)
downloadminetest-a649d43fe7349e5cfa4c67de93377004902c1b07.tar.gz
minetest-a649d43fe7349e5cfa4c67de93377004902c1b07.tar.bz2
minetest-a649d43fe7349e5cfa4c67de93377004902c1b07.zip
Messed around with genmap.py. Now supports format version 17.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp6
1 files changed, 4 insertions, 2 deletions
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()="<<e.what()
<<std::endl;
+ //" Ignoring. A new one will be generated.
+ assert(0);
// TODO: Backup file; name is in fullpath.
}