diff --git a/src/debug.c b/src/debug.c index 218dbd65..05d23092 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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")) diff --git a/src/live_game.c b/src/live_game.c index b9923fcc..df87f211 100644 --- a/src/live_game.c +++ b/src/live_game.c @@ -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, "[") || diff --git a/support_files/bygfoot_help b/support_files/bygfoot_help index 700335cb..53f9675b 100644 --- a/support_files/bygfoot_help +++ b/support_files/bygfoot_help @@ -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)