Fix compatibility of MapBlock decoding

also properly drop support for version < 22, which hasn't worked in years
This commit is contained in:
sfan5
2020-05-06 22:31:50 +02:00
parent 92f6b051a5
commit 2979dc5b6b
2 changed files with 27 additions and 16 deletions

View File

@ -20,7 +20,7 @@ private:
int m_blockAirId;
int m_blockIgnoreId;
u8 m_version;
u8 m_version, m_contentWidth;
ustring m_mapData;
};