src/game/Tactical/Map_Information.cc
void UpdateSummaryInfo( SUMMARYFILE *pSummary )
{
	if( pSummary->MapInfo.ubMapVersion == MINOR_MAP_VERSION )
		return;
	if( pSummary->MapInfo.ubMapVersion < 9 )
	{
		//See bug 10
		pSummary->ubCivSchedules = 0;
	}
	if( pSummary->MapInfo.ubMapVersion < 12 )
	{
		pSummary->MapInfo.sCenterGridNo = -1;
	}
	if( pSummary->MapInfo.ubMapVersion < 16 )
	{
		pSummary->MapInfo.sIsolatedGridNo = -1;
	}
}
//This function is used to avoid conflicts between minor version updates and sector summary info.
//By updating the summary info in conjunction with minor version updates, we can avoid these conflicts
//and really prevent major map updates.
This function is used to avoid conflicts between minor version updates and sector summary info.
By updating the summary info in conjunction with minor version updates, we can avoid these conflicts
and really prevent major map updates.
This function is used to avoid conflicts between minor version updates and sector summary info . By updating the summary info in conjunction with minor version updates we can avoid these conflicts and really prevent major map updates .
void UpdateSummaryInfo( SUMMARYFILE *pSummary )
{
	if( pSummary->MapInfo.ubMapVersion == MINOR_MAP_VERSION )
		return;
	if( pSummary->MapInfo.ubMapVersion < 9 )
	{
		pSummary->ubCivSchedules = 0;
	}
	if( pSummary->MapInfo.ubMapVersion < 12 )
	{
		pSummary->MapInfo.sCenterGridNo = -1;
	}
	if( pSummary->MapInfo.ubMapVersion < 16 )
	{
		pSummary->MapInfo.sIsolatedGridNo = -1;
	}
}
void UpdateSummaryInfo ( SUMMARYFILE * pSummary ) { if ( pSummary -> MapInfo . ubMapVersion == MINOR_MAP_VERSION ) return ; if ( pSummary -> MapInfo . ubMapVersion < 9 ) { pSummary -> ubCivSchedules = 0 ; } if ( pSummary -> MapInfo . ubMapVersion < 12 ) { pSummary -> MapInfo . sCenterGridNo = -1 ; } if ( pSummary -> MapInfo . ubMapVersion < 16 ) { pSummary -> MapInfo . sIsolatedGridNo = -1 ; } }
This function is used to avoid conflicts between minor version updates and sector summary info.
This function is used to avoid conflicts between minor version updates and sector summary info .
//See bug 10