mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-03-05 19:47:55 +01:00
UEFA cup correction.
This commit is contained in:
parent
9d464c8583
commit
411c52092d
@ -342,8 +342,8 @@ cup_load_choose_team(Cup *cup, GPtrArray *teams, GPtrArray *teams_sorted, const
|
|||||||
const Cup *cup_temp = NULL;
|
const Cup *cup_temp = NULL;
|
||||||
|
|
||||||
if(debug > 60)
|
if(debug > 60)
|
||||||
g_print("cup_load_choose_team: %s, %s \n", cup->name,
|
g_print("cup_load_choose_team: %s, %s, teams %d to %d, random: %d \n", cup->name,
|
||||||
ct->sid);
|
ct->sid, ct->start_idx, ct->end_idx, ct->randomly);
|
||||||
|
|
||||||
cup_get_choose_team_league_cup(ct, &league, &cup_temp);
|
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++)
|
for(j = 0; j < end; j++)
|
||||||
{
|
{
|
||||||
if(debug > 80)
|
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,
|
team_of_id(g_array_index(table->elements,
|
||||||
TableElement, order[j]).team_id)->name,
|
TableElement, order[j]).team_id)->name,
|
||||||
query_team_is_in_cups(
|
query_team_is_in_cups(
|
||||||
|
@ -26,16 +26,16 @@
|
|||||||
|
|
||||||
<choose_teams>
|
<choose_teams>
|
||||||
<choose_team>
|
<choose_team>
|
||||||
<choose_team_sid>LEAGUE1</choose_team_sid>
|
<choose_team_sid>CUP1</choose_team_sid>
|
||||||
<number_of_teams>1</number_of_teams>
|
<number_of_teams>1</number_of_teams>
|
||||||
<start_idx>2</start_idx>
|
<start_idx>1</start_idx>
|
||||||
<end_idx>2</end_idx>
|
<end_idx>2</end_idx>
|
||||||
</choose_team>
|
</choose_team>
|
||||||
|
|
||||||
<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>
|
<number_of_teams>1</number_of_teams>
|
||||||
<start_idx>1</start_idx>
|
<start_idx>2</start_idx>
|
||||||
<end_idx>3</end_idx>
|
<end_idx>3</end_idx>
|
||||||
</choose_team>
|
</choose_team>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user