mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-07-06 18:30:41 +02:00
Clean m_nameMap between blocks
Each block embeds it own content id <=> name mapping. Keeping values accross blocks could mask corrupted ones.
This commit is contained in:
@ -441,6 +441,7 @@ void TileGenerator::renderMap()
|
|||||||
|
|
||||||
m_blockAirId = -1;
|
m_blockAirId = -1;
|
||||||
m_blockIgnoreId = -1;
|
m_blockIgnoreId = -1;
|
||||||
|
m_nameMap.clear();
|
||||||
// Read mapping
|
// Read mapping
|
||||||
if (version >= 22) {
|
if (version >= 22) {
|
||||||
dataOffset++; // mapping version
|
dataOffset++; // mapping version
|
||||||
|
Reference in New Issue
Block a user