OrionVeteran
Deity
I have a new tag in CIV4BuildingInfos.xml named: PrereqCivic. Unfortunately, the tag refers to and displays the data from the Civic Option Type: <CivicOptionType>, instead of the Civic type: <Type>
<CivicOption>NONE</CivicOption>
<PrereqCivic>CIVIC_DESPOTISM</PrereqCivic>
How can I change the SDK so that the field data is from the Civic type and not the Civic Option Type.
This is what I have currently in the SDK:
pXML->GetChildXmlValByName(szTextVal, "PrereqCivic");
m_iPrereqCivic = pXML->FindInInfoClass(szTextVal);
<CivicOption>NONE</CivicOption>
<PrereqCivic>CIVIC_DESPOTISM</PrereqCivic>
How can I change the SDK so that the field data is from the Civic type and not the Civic Option Type.
This is what I have currently in the SDK:
pXML->GetChildXmlValByName(szTextVal, "PrereqCivic");
m_iPrereqCivic = pXML->FindInInfoClass(szTextVal);