Skill level of international teams

Here you can... report bugs. Open a new thread for each bug, please.
Post Reply
MarkC
Posts: 96
Joined: Tue Mar 29, 2005 10:34 pm

Skill level of international teams

Post 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 :) )
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

yes, that's a bug all right, and :arrow: corrected. thanks for reporting :-)

gyözö
Press any key to continue or any other key to quit.
Post Reply