iGoldPerTurn will display incorrectly for resolutions

snarko

DLLer
Joined
Dec 9, 2003
Messages
1,512
Location
Sweden
Patch 1.0.3.70, or rather the patch that was before it since I don't have updated DLL source.

In CvResolutionEffects::AddOngoingEffects there's this line:

Code:
iGoldPerTurn							+= pOtherEffects->iOneTimeGold;

That should be
Code:
iGoldPerTurn							+= pOtherEffects->iGoldPerTurn;


If I understand the code correctly this will only cause the display of gold gained to be wrong. The actual effect will be correct as it does not call this function.
 
Top Bottom