ClassicThunder
Prince
- Joined
- Sep 15, 2006
- Messages
- 511
This code causes a this "fatal error"
I don't understand why this code would require mscorlib.dll.
Code:
c:\Documents and Settings\Scott Franks\My Documents\Game Downloads\Civilization 4\Civ4_SDK_source\CvGameCoreDLL_v161\CvGameCoreDLL\CvPlayerAI.cpp(28): fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option
I don't understand why this code would require mscorlib.dll.
Code:
/////ClassicThunder/////
//Reduces Dragon Rider's Value after curruption
if ( GC.getGameINLINE().getProjectCreatedCount(GC.getProjectInfo(S"PROJECT_CURRUPT_RIDER_COVONANT")) == 1)
{
if ( GC.getUnitInfo(eUnit).getUnitClassType() == GC.getInfoTypeForString(S"UNITCLASS_DRAGON_RIDER") )
{
iValue -= 11;
}
}
/////ClassicThunder/////