Page 1 of 1

Skill level of international teams

Posted: Wed Oct 12, 2005 11:39 pm
by MarkC
Something odd seems to have happened with international cups. talent_diff is being interpreted 100 times higher than it should be, with that result that all generated teams have maximum strength.

In xml_cup.c, I see this:

Code: Select all

new_cup.talent_diff =
      (float_value / 10000) * const_float("float_player_max_skill");
I don't get it. Shouldn't it just be

Code: Select all

new_cup.talent_diff =
      float_value / 10000;
?

(Not sure why I posted this under definitions - I think I only realised it was a bug half way through :) )

Posted: Thu Oct 13, 2005 8:49 am
by gyboth
yes, that's a bug all right, and :arrow: corrected. thanks for reporting :-)

gyözö