mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Fix header.mapLevels saving
This commit is contained in:
		| @@ -267,7 +267,7 @@ void CMapSaverJson::saveHeader() | ||||
| 	header["versionMinor"].Float() = VERSION_MINOR;	 | ||||
| 	 | ||||
| 	//todo: multilevel map save support	 | ||||
| 	JsonNode levels = header["mapLevels"]; | ||||
| 	JsonNode & levels = header["mapLevels"]; | ||||
| 	levels["surface"]["height"].Float() = map->height;	 | ||||
| 	levels["surface"]["width"].Float() = map->width; | ||||
| 	levels["surface"]["index"].Float() = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user