mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-18 18:02:32 +01:00
Fixed the horses problem.
This commit is contained in:
parent
9d67ab30bd
commit
9ac3481a6d
@ -164,6 +164,7 @@ debug_action(const gchar *text)
|
||||
"pospref \t change recruiting pref\n"
|
||||
"goto \t Press 'new week' automatically until\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"
|
||||
" \t Find the numbers in live_game_struct.h (LiveGameEventType)\n"
|
||||
" \t Use 'goto' afterwards.\n"
|
||||
|
@ -1261,8 +1261,9 @@ player_remove_contract(Player *pl)
|
||||
printf("player_remove_contract\n");
|
||||
#endif
|
||||
|
||||
user_event_add(user_from_team(pl->team), EVENT_TYPE_PLAYER_LEFT, -1, -1, NULL,
|
||||
pl->name);
|
||||
if(debug < 50)
|
||||
user_event_add(user_from_team(pl->team), EVENT_TYPE_PLAYER_LEFT, -1, -1, NULL,
|
||||
pl->name);
|
||||
player_remove_from_team(pl->team, player_id_index(pl->team, pl->id));
|
||||
}
|
||||
|
||||
|
@ -25,9 +25,11 @@
|
||||
|
||||
#include "cup.h"
|
||||
#include "file.h"
|
||||
#include "fixture.h"
|
||||
#include "free.h"
|
||||
#include "league_struct.h"
|
||||
#include "misc.h"
|
||||
#include "table.h"
|
||||
#include "team.h"
|
||||
#include "xml.h"
|
||||
#include "xml_loadsave_cup.h"
|
||||
@ -210,7 +212,7 @@ xml_loadsave_leagues_cups_write(const gchar *prefix)
|
||||
void
|
||||
xml_loadsave_leagues_cups_adjust_team_ptrs(void)
|
||||
{
|
||||
gint i, j, k, l;
|
||||
gint i, j, k;
|
||||
GPtrArray *team_ptrs;
|
||||
|
||||
for(i = 0; i < ligs->len; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user