1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-01-18 18:02:32 +01:00

"Transfer changes."

This commit is contained in:
gyboth 2005-05-27 19:21:18 +00:00
parent 7fa6160cef
commit 46e15b8da3

View File

@ -29,9 +29,11 @@ transfer_update(void)
for(i=transfer_list->len - 1;i>=0;i--)
{
trans(i).locked = FALSE;
for(j=trans(i).offers->len - 1;j>=0;j--)
g_array_remove_index(trans(i).offers, j);
if(trans(i).locked || team_is_user(transoff(i, j).tm) == -1)
g_array_remove_index(trans(i).offers, j);
trans(i).locked = FALSE;
}
transfer_add_new_players();