1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-14 17:34:19 +01:00

Transfer fee bug.

This commit is contained in:
gyboth 2005-06-19 08:19:35 +00:00
parent 3650122f67
commit 65d97ed3d9

View File

@ -36,6 +36,8 @@ misc2_callback_transfer_user_player(void)
player_of_idx_team(new_team, new_team->players->len - 1)->contract =
(gfloat)math_rndi(const_int("int_transfer_contract_lower"),
const_int("int_transfer_contract_upper"));
player_of_idx_team(new_team, new_team->players->len - 1)->wage =
transoff(stat2, 0).wage;
g_array_remove_index(current_user.tm->players,
player_id_index(current_user.tm, trans(stat2).id));
transfer_remove_player(stat2);