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

Minor correction.

This commit is contained in:
gyboth 2005-05-28 15:13:40 +00:00
parent c225b6987b
commit 1b83bebafd

View File

@ -97,6 +97,9 @@ start_new_season(void)
g_ptr_array_remove_index(acps, i); g_ptr_array_remove_index(acps, i);
} }
for(i=0;i<ligs->len;i++)
fixture_write_league_fixtures(&lig(i));
for(i=cps->len - 1; i >= 0; i--) for(i=cps->len - 1; i >= 0; i--)
{ {
cup_reset(&cp(i)); cup_reset(&cp(i));
@ -105,12 +108,9 @@ start_new_season(void)
fixture_write_cup_fixtures(&cp(i)); fixture_write_cup_fixtures(&cp(i));
} }
for(i=0;i<ligs->len;i++) if(season > 1)
{ for(i=0;i<ligs->len;i++)
if(season > 1)
league_season_start(&lig(i)); league_season_start(&lig(i));
fixture_write_league_fixtures(&lig(i));
}
} }
/** Fill some global variables with default values at the /** Fill some global variables with default values at the