Fixed bug with peak_region

This commit is contained in:
idcarlos 2006-04-11 10:04:25 +00:00
parent bbbffa5ebe
commit c98a1268f7
1 changed files with 32 additions and 28 deletions

View File

@ -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);
}