mirror of https://github.com/tstellar/bygfoot.git
Fixed bug with peak_region
This commit is contained in:
parent
bbbffa5ebe
commit
c98a1268f7
|
@ -160,6 +160,10 @@ youth_academy_add_new_player(YouthAcademy *youth_academy)
|
|||
new.streak = PLAYER_STREAK_NONE;
|
||||
new.streak_count = new.streak_prob = 0;
|
||||
|
||||
new.peak_region =
|
||||
math_gauss_dist(const_float("float_player_peak_region_lower"),
|
||||
const_float("float_player_peak_region_upper"));//2;
|
||||
|
||||
g_array_append_val(youth_academy->players, new);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue