mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-15 08:15:56 +01:00
"Minor fixes."
This commit is contained in:
parent
54cc54f5c4
commit
911e52517a
@ -69,7 +69,7 @@ debug_action(const gchar *text, gint value)
|
||||
else if(g_str_has_prefix(text, "testcom") ||
|
||||
g_str_has_prefix(text, "tc"))
|
||||
{
|
||||
stat5 = -value;
|
||||
stat5 = -value - 1000;
|
||||
game_gui_print_message("Commentary type displayed: %d.", value);
|
||||
}
|
||||
else if(g_str_has_prefix(text, "help"))
|
||||
|
@ -63,7 +63,7 @@ live_game_calculate_fixture(Fixture *fix)
|
||||
|
||||
if(last_unit.event.type == LIVE_GAME_EVENT_END_MATCH)
|
||||
{
|
||||
if(fixture_user_team_involved(match->fix) != -1 || stat5 < 0)
|
||||
if(fixture_user_team_involved(match->fix) != -1 || stat5 < -1000)
|
||||
lg_commentary_post_match();
|
||||
game_post_match(fix);
|
||||
}
|
||||
@ -98,7 +98,7 @@ live_game_initialize(Fixture *fix)
|
||||
|
||||
game_initialize(fix);
|
||||
|
||||
if(fixture_user_team_involved(match->fix) != -1 || stat5 < 0)
|
||||
if(fixture_user_team_involved(match->fix) != -1 || stat5 < -1000)
|
||||
lg_commentary_initialize(fix);
|
||||
}
|
||||
|
||||
@ -1310,7 +1310,7 @@ live_game_finish_unit(void)
|
||||
treeview_show_user_player_list();
|
||||
}
|
||||
|
||||
if(fixture_user_team_involved(match->fix) != -1 || stat5 < 0)
|
||||
if(fixture_user_team_involved(match->fix) != -1 || stat5 < -1000)
|
||||
{
|
||||
if(unit->time != LIVE_GAME_UNIT_TIME_PENALTIES)
|
||||
{
|
||||
@ -1322,7 +1322,7 @@ live_game_finish_unit(void)
|
||||
|
||||
lg_commentary_generate(match, unit);
|
||||
|
||||
if(stat5 == -unit->event.type)
|
||||
if(-stat5 - 1000 == unit->event.type)
|
||||
{
|
||||
printf("type %d com **%s**", unit->event.type, unit->event.commentary->str);
|
||||
if(g_strrstr(unit->event.commentary->str, "[") ||
|
||||
|
@ -10,9 +10,12 @@ string_contrib_entry Mark D. Symonds
|
||||
string_contrib_title Windows port
|
||||
string_contrib_entry Simon Binns
|
||||
|
||||
string_contrib_title Patches and ideas
|
||||
string_contrib_entry Mark Calderbank, Michal Rudolf
|
||||
|
||||
string_contrib_title Country definitions
|
||||
string_contrib_entry Győző Both (Germany, Italy, Scotland)
|
||||
string_contrib_entry Mark Calderbank (England)
|
||||
string_contrib_entry Győző Both (Australia, Germany, Italy, Scotland)
|
||||
string_contrib_entry Mark Calderbank (England, Ireland, Spain, Victoria, Wales)
|
||||
string_contrib_entry Tobe & Arne Deprez (Belgium)
|
||||
string_contrib_entry Celso Goya (Brazil)
|
||||
string_contrib_entry Arnaud Le Rouzic (France)
|
||||
|
Loading…
Reference in New Issue
Block a user