1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-16 10:21:15 +01:00

UEFA cup correction.

This commit is contained in:
gyboth 2009-04-20 07:26:04 +00:00
parent f5c36dfdc0
commit 892dd20999
2 changed files with 8 additions and 7 deletions

View File

@ -342,8 +342,8 @@ cup_load_choose_team(Cup *cup, GPtrArray *teams, GPtrArray *teams_sorted, const
const Cup *cup_temp = NULL;
if(debug > 60)
g_print("cup_load_choose_team: %s, %s \n", cup->name,
ct->sid);
g_print("cup_load_choose_team: %s, %s, teams %d to %d, random: %d \n", cup->name,
ct->sid, ct->start_idx, ct->end_idx, ct->randomly);
cup_get_choose_team_league_cup(ct, &league, &cup_temp);
@ -500,7 +500,8 @@ cup_load_choose_team_from_league(Cup *cup, const League *league,
for(j = 0; j < end; j++)
{
if(debug > 80)
g_print("team %s isinint %d numteams %d\n",
g_print("j %d order %d team %s isinint %d numteams %d\n",
j, order[j],
team_of_id(g_array_index(table->elements,
TableElement, order[j]).team_id)->name,
query_team_is_in_cups(

View File

@ -26,16 +26,16 @@
<choose_teams>
<choose_team>
<choose_team_sid>LEAGUE1</choose_team_sid>
<choose_team_sid>CUP1</choose_team_sid>
<number_of_teams>1</number_of_teams>
<start_idx>2</start_idx>
<start_idx>1</start_idx>
<end_idx>2</end_idx>
</choose_team>
<choose_team>
<choose_team_sid>CUP1</choose_team_sid>
<choose_team_sid>LEAGUE1</choose_team_sid>
<number_of_teams>1</number_of_teams>
<start_idx>1</start_idx>
<start_idx>2</start_idx>
<end_idx>3</end_idx>
</choose_team>