mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-31 07:54:50 +01:00
"Transfer changes."
This commit is contained in:
parent
7fa6160cef
commit
46e15b8da3
@ -29,9 +29,11 @@ transfer_update(void)
|
|||||||
|
|
||||||
for(i=transfer_list->len - 1;i>=0;i--)
|
for(i=transfer_list->len - 1;i>=0;i--)
|
||||||
{
|
{
|
||||||
trans(i).locked = FALSE;
|
|
||||||
for(j=trans(i).offers->len - 1;j>=0;j--)
|
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();
|
transfer_add_new_players();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user