From 46e15b8da3b051c441d7904bb9fd7ad943ee996a Mon Sep 17 00:00:00 2001 From: gyboth Date: Fri, 27 May 2005 19:21:18 +0000 Subject: [PATCH] "Transfer changes." --- src/transfer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/transfer.c b/src/transfer.c index 929a7a30..bc15f4fc 100644 --- a/src/transfer.c +++ b/src/transfer.c @@ -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();