summaryrefslogtreecommitdiff
path: root/src/database-leveldb.cpp
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2013-09-06 18:22:12 +0200
committerSfan5 <sfan5@live.de>2013-09-09 22:50:50 +0200
commit7e44c2ace136a5dfe1c999167bb0aadcb8a78c4f (patch)
tree5dc9d41c5690ace1d01a8d43814cdfbef732f980 /src/database-leveldb.cpp
parent58841ef12f6cba1bb622353c1fcaa0e3c6fb46c9 (diff)
downloadminetest-7e44c2ace136a5dfe1c999167bb0aadcb8a78c4f.tar.gz
minetest-7e44c2ace136a5dfe1c999167bb0aadcb8a78c4f.tar.bz2
minetest-7e44c2ace136a5dfe1c999167bb0aadcb8a78c4f.zip
Make it compile
Diffstat (limited to 'src/database-leveldb.cpp')
-rw-r--r--src/database-leveldb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database-leveldb.cpp b/src/database-leveldb.cpp
index 34e153988..e0ab4f090 100644
--- a/src/database-leveldb.cpp
+++ b/src/database-leveldb.cpp
@@ -55,7 +55,7 @@ void Database_LevelDB::saveBlock(MapBlock *block)
}
// Format used for writing
- u8 version = SER_FMT_VER_HIGHEST;
+ u8 version = SER_FMT_VER_HIGHEST_WRITE;
// Get destination
v3s16 p3d = block->getPos();