whoward69
DLL Minion
In void CvTeam::uninit()
Code:
m_bBrokenCityStatePromise = false;
m_eCurrentEra = ((EraTypes) 0);
#if defined(MOD_DIPLOMACY_CIV4_FEATURES)
m_iVassalageTradingAllowedCount = 0;
// NOTE: if m_eCurrentEra != 0, it will be necessary to loop 0 to m_eCurrentEra here, but that should NEVER be the case
CvEraInfo* pEraInfo = GC.getEraInfo(m_eCurrentEra);
if(MOD_DIPLOMACY_CIV4_FEATURES && pEraInfo && pEraInfo->getVassalageEnabled())
{
if(!GC.getGame().isOption(GAMEOPTION_NO_VASSALAGE))
{
changeVassalageTradingAllowedCount(1);
}
}
#endif
m_eLiberatedByTeam = NO_TEAM;