UN Bug

The Great Apple

Big Cheese
Joined
Mar 24, 2002
Messages
3,361
Location
Oxford, England
Impaler - your vote modifier trait seems to disable the UN if not used. The vote modifier defaults to zero, which means that each player gets 0 votes.
 
I'll look into that right away. Yep I can reproduce it, I probably forgot to add 100 to the base return value of the vote modifier resulting in multiplication by 0. Yep that was it, just change this function

int CvPlayer::getVoteModifier()

FROM {return m_iVoteModifier;} TO {return m_iVoteModifier + 100;}

And all should be good, sorry about that, I though I remembered fixing that bug at some point, maybe I forgot to commit it to the CVS
 
Back
Top Bottom