mirror of https://github.com/tstellar/bygfoot.git
Fixed the horses problem.
This commit is contained in:
parent
194ba3992e
commit
55ce490045
|
@ -164,6 +164,7 @@ debug_action(const gchar *text)
|
||||||
"pospref \t change recruiting pref\n"
|
"pospref \t change recruiting pref\n"
|
||||||
"goto \t Press 'new week' automatically until\n"
|
"goto \t Press 'new week' automatically until\n"
|
||||||
" \t the appropriate week is reached\n"
|
" \t the appropriate week is reached\n"
|
||||||
|
" \t Supply 100+X to go to season X (e.g. 102)\n"
|
||||||
"testcom|tc \t Test a specific live game commentary.\n"
|
"testcom|tc \t Test a specific live game commentary.\n"
|
||||||
" \t Find the numbers in live_game_struct.h (LiveGameEventType)\n"
|
" \t Find the numbers in live_game_struct.h (LiveGameEventType)\n"
|
||||||
" \t Use 'goto' afterwards.\n"
|
" \t Use 'goto' afterwards.\n"
|
||||||
|
|
|
@ -1261,6 +1261,7 @@ player_remove_contract(Player *pl)
|
||||||
printf("player_remove_contract\n");
|
printf("player_remove_contract\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if(debug < 50)
|
||||||
user_event_add(user_from_team(pl->team), EVENT_TYPE_PLAYER_LEFT, -1, -1, NULL,
|
user_event_add(user_from_team(pl->team), EVENT_TYPE_PLAYER_LEFT, -1, -1, NULL,
|
||||||
pl->name);
|
pl->name);
|
||||||
player_remove_from_team(pl->team, player_id_index(pl->team, pl->id));
|
player_remove_from_team(pl->team, player_id_index(pl->team, pl->id));
|
||||||
|
|
|
@ -25,9 +25,11 @@
|
||||||
|
|
||||||
#include "cup.h"
|
#include "cup.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
#include "fixture.h"
|
||||||
#include "free.h"
|
#include "free.h"
|
||||||
#include "league_struct.h"
|
#include "league_struct.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include "table.h"
|
||||||
#include "team.h"
|
#include "team.h"
|
||||||
#include "xml.h"
|
#include "xml.h"
|
||||||
#include "xml_loadsave_cup.h"
|
#include "xml_loadsave_cup.h"
|
||||||
|
@ -210,7 +212,7 @@ xml_loadsave_leagues_cups_write(const gchar *prefix)
|
||||||
void
|
void
|
||||||
xml_loadsave_leagues_cups_adjust_team_ptrs(void)
|
xml_loadsave_leagues_cups_adjust_team_ptrs(void)
|
||||||
{
|
{
|
||||||
gint i, j, k, l;
|
gint i, j, k;
|
||||||
GPtrArray *team_ptrs;
|
GPtrArray *team_ptrs;
|
||||||
|
|
||||||
for(i = 0; i < ligs->len; i++)
|
for(i = 0; i < ligs->len; i++)
|
||||||
|
|
Loading…
Reference in New Issue