mirror of
				https://github.com/luanti-org/minetestmapper.git
				synced 2025-10-30 23:55:34 +01: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