Skip to content
Permalink
Browse files

Add support for recent MapBlock serialization changes

  • Loading branch information
sfan5 committed Feb 17, 2017
1 parent 07c371f commit 21444d00c35dc6896ffc27af7da38d8a296178fd
Showing with 3 additions and 1 deletion.
  1. +3 −1 TileGenerator.cpp
@@ -394,7 +394,9 @@ void TileGenerator::renderMap()
//uint8_t flags = data[1];

size_t dataOffset = 0;
if (version >= 22)
if (version >= 27)
dataOffset = 6;
else if (version >= 22)
dataOffset = 4;
else
dataOffset = 2;

0 comments on commit 21444d0

Please sign in to comment.
You can’t perform that action at this time.