src/game/TileEngine/SaveLoadMap.cc
static void SaveModifiedMapStructToMapTempFile(MODIFY_MAP const* const pMap, INT16 const sSectorX, INT16 const sSectorY, INT8 const bSectorZ)
{
	std::unique_ptr<AutoSGPFile> hFile = OpenMapModificationTempFile(sSectorX, sSectorY, bSectorZ);
	SaveModifiedMapStructToMapTempFile(pMap, *hFile);
}
// Opens the map temp file, writes the modification, then close the file
Opens the map temp file, writes the modification, then close the file
Opens the map temp file writes the modification then close the file
static void SaveModifiedMapStructToMapTempFile(MODIFY_MAP const* const pMap, INT16 const sSectorX, INT16 const sSectorY, INT8 const bSectorZ)
{
	std::unique_ptr<AutoSGPFile> hFile = OpenMapModificationTempFile(sSectorX, sSectorY, bSectorZ);
	SaveModifiedMapStructToMapTempFile(pMap, *hFile);
}
static void SaveModifiedMapStructToMapTempFile ( MODIFY_MAP const * const pMap , INT16 const sSectorX , INT16 const sSectorY , INT8 const bSectorZ ) { std :: unique_ptr < AutoSGPFile > hFile = OpenMapModificationTempFile ( sSectorX , sSectorY , bSectorZ ) ; SaveModifiedMapStructToMapTempFile ( pMap , * hFile ) ; }
Opens the map temp file, writes the modification, then close the file
Opens the map temp file writes the modification then close the file